summaryrefslogtreecommitdiffstats
path: root/build/common.gypi
diff options
context:
space:
mode:
Diffstat (limited to 'build/common.gypi')
-rw-r--r--build/common.gypi5
1 files changed, 5 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 3026274..13dea60 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -947,6 +947,11 @@
'-fdata-sections',
'-ffunction-sections',
],
+ 'ldflags': [
+ # Specifically tell the linker to perform optimizations.
+ # See http://lwn.net/Articles/192624/ .
+ '-Wl,-O1',
+ ],
'conditions' : [
['no_gc_sections==0', {
'ldflags': [