Skip to content

Commit c3dbba0

Browse files
committed
Use --icf=all on architectures where it's supported
1 parent 77b8c81 commit c3dbba0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

brightray/brightray.gypi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,7 @@
291291
'ldflags': [
292292
'-flto=thin',
293293
'-fuse-ld=lld', # Chromium Clang uses lld for doing LTO
294+
'-Wl,--icf=all',
294295
'-Wl,--lto-O0', # this could be removed in future; see https://codereview.chromium.org/2939923004
295296
'-Wl,-mllvm,-function-sections',
296297
'-Wl,-mllvm,-data-sections',

0 commit comments

Comments
 (0)