| Index: build/config/compiler/BUILD.gn
|
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
| index dbe2e5744993faa616fb6f8529a5f16e8d07d67b..7efe1d2ca8264794f38cae0a3e4eccdcb8404844 100644
|
| --- a/build/config/compiler/BUILD.gn
|
| +++ b/build/config/compiler/BUILD.gn
|
| @@ -416,7 +416,7 @@ config("compiler") {
|
| "-fuse-ld=gold",
|
|
|
| # TODO(brettw) common.gypi has this only for target toolset.
|
| - "-Wl,--icf=safe",
|
| + "-Wl,--icf=all",
|
|
|
| # Experimentation found that using four linking threads
|
| # saved ~20% of link time.
|
| @@ -513,7 +513,7 @@ config("compiler") {
|
| if (current_cpu == "arm") {
|
| ldflags += [
|
| # Enable identical code folding to reduce size.
|
| - "-Wl,--icf=safe",
|
| + "-Wl,--icf=all",
|
| ]
|
| }
|
|
|
|
|