Browse Source

Use `--icf=all` on architectures where it's supported

Ales Pergl 7 years ago
parent
commit
c3dbba00a6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      brightray/brightray.gypi

+ 1 - 0
brightray/brightray.gypi

@@ -291,6 +291,7 @@
             'ldflags': [
               '-flto=thin',
               '-fuse-ld=lld',  # Chromium Clang uses lld for doing LTO
+              '-Wl,--icf=all',
               '-Wl,--lto-O0',  # this could be removed in future; see https://codereview.chromium.org/2939923004
               '-Wl,-mllvm,-function-sections',
               '-Wl,-mllvm,-data-sections',