summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
Diffstat (limited to 'build')
-rw-r--r--build/common.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 2f6789d..01136dc 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -618,6 +618,9 @@
'-fdata-sections',
'-ffunction-sections',
],
+ 'ldflags': [
+ '-Wl,--gc-sections',
+ ],
},
},
'variants': {