Index: tools/gyp/configurations_xcode.gypi |
diff --git a/tools/gyp/configurations_xcode.gypi b/tools/gyp/configurations_xcode.gypi |
index 3f22df5ec595434dafd3911c782b37ce91865f2a..f7097271216d3628c4111e25740168ca616ea437 100644 |
--- a/tools/gyp/configurations_xcode.gypi |
+++ b/tools/gyp/configurations_xcode.gypi |
@@ -25,6 +25,7 @@ |
'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti |
'GCC_DEBUGGING_SYMBOLS': 'default', # -g |
'GCC_GENERATE_DEBUGGING_SYMBOLS': 'YES', # Do not strip symbols |
+ 'DEAD_CODE_STRIPPING': 'YES', # -Wl,-dead_strip |
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden |
'GCC_INLINES_ARE_PRIVATE_EXTERN': 'YES', # -fvisibility-inlines-hidden |
'GCC_WARN_NON_VIRTUAL_DESTRUCTOR': 'YES', # -Wnon-virtual-dtor |