|
@@ -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',
|