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

Unified Diff: build/common.gypi

Issue 399048: linux: pass --gc-sections in link line (Closed)
Patch Set: Created 11 years, 1 month 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 6a703abdd04f7789bdd1f135616786a90f228e75..64bbd6394ea80d7e263ccead8aa19b4fe96b62f6 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -614,6 +614,9 @@
'-fdata-sections',
'-ffunction-sections',
],
+ 'ldflags': [
+ '-Wl,--gc-sections',
+ ],
},
},
'variants': {
« 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