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

Unified Diff: build/common.gypi

Issue 3050043: linux: pass --as-needed to linker (Closed)
Patch Set: ok Created 10 years, 4 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 13dea600d68b183f24e86b89dfca29d7ca9ffafd..54077421902834894389cf779ba70403e2bcc402 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -951,6 +951,7 @@
# Specifically tell the linker to perform optimizations.
# See http://lwn.net/Articles/192624/ .
'-Wl,-O1',
+ '-Wl,--as-needed',
],
'conditions' : [
['no_gc_sections==0', {
« 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