Index: tools/gyp/configurations_make.gypi |
diff --git a/tools/gyp/configurations_make.gypi b/tools/gyp/configurations_make.gypi |
index 683ca5148d8cc69291c20a6a9e4b7a8bb4635bc8..f5721c61bb315194aacd1a472e01dcb1c67f384b 100644 |
--- a/tools/gyp/configurations_make.gypi |
+++ b/tools/gyp/configurations_make.gypi |
@@ -236,6 +236,11 @@ |
], |
'cflags': [ |
'-O3', |
+ '-fdata-sections', |
+ '-ffunction-sections', |
+ ], |
+ 'ldflags': [ |
+ '-Wl,--gc-sections', |
rmacnak
2015/11/17 20:51:18
Do we need to add flags for Mac too?
Florian Schneider
2015/11/18 11:44:09
Possibly - I don't have a Mac at hand yet to test
|
], |
}, |
}, |