Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: build/common.gypi

Issue 6931008: linux: enable safe identical code folding for release builds (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/common.gypi
diff --git a/build/common.gypi b/build/common.gypi
index 81f2dcaae7c5dad0277b7ba949138d87f842e2c1..e2ebb66dbe538cbdaa385d8180ce65c9554e8fd9 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -1124,6 +1124,14 @@
'-g',
],
}],
+ # At gyp time, we test the linker for ICF support; this flag
+ # is then provided to us by gyp. (Currently only gold supports
+ # an --icf flag.)
+ ['LINKER_SUPPORTS_ICF==1', {
+ 'ldflags': [
+ '-Wl,--icf=safe',
+ ]
+ }],
]
},
},
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698