summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--build/common.gypi3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/common.gypi b/build/common.gypi
index 6a703ab..64bbd63 100644
--- a/build/common.gypi
+++ b/build/common.gypi
@@ -614,6 +614,9 @@
'-fdata-sections',
'-ffunction-sections',
],
+ 'ldflags': [
+ '-Wl,--gc-sections',
+ ],
},
},
'variants': {