Index: build/common.gypi |
diff --git a/build/common.gypi b/build/common.gypi |
index 2f5025a54bc01988eb845c9ea7fdf04131adee68..49b6784af6c2dd45d8e4849089e4eee2611bebe2 100644 |
--- a/build/common.gypi |
+++ b/build/common.gypi |
@@ -2486,6 +2486,12 @@ |
}, { |
'enable_hangout_services_extension%': 0, |
}], |
+ |
+ # Gold doesn't respect section alignment and breaks gcc builds with icf |
+ # https://bugs.chromium.org/p/chromium/issues/detail?id=576197 |
+ ['clang==0 and linux_use_bundled_gold==1', { |
+ 'gold_icf_level%': 'none' |
+ }], |
], |
# The path to the ANGLE library. |