summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/common.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 13dea60..5407742 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', {