Use --icf=all
on architectures where it's supported
This commit is contained in:
parent
77b8c81096
commit
c3dbba00a6
1 changed files with 1 additions and 0 deletions
|
@ -291,6 +291,7 @@
|
||||||
'ldflags': [
|
'ldflags': [
|
||||||
'-flto=thin',
|
'-flto=thin',
|
||||||
'-fuse-ld=lld', # Chromium Clang uses lld for doing LTO
|
'-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,--lto-O0', # this could be removed in future; see https://codereview.chromium.org/2939923004
|
||||||
'-Wl,-mllvm,-function-sections',
|
'-Wl,-mllvm,-function-sections',
|
||||||
'-Wl,-mllvm,-data-sections',
|
'-Wl,-mllvm,-data-sections',
|
||||||
|
|
Loading…
Reference in a new issue