diff --git a/brightray/brightray.gypi b/brightray/brightray.gypi index 264f8dc9db35..0cc1537dfeb2 100644 --- a/brightray/brightray.gypi +++ b/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',