build: enable DEAD_CODE_STRIPPING on OS X

pull/24504/head
Timothy J Fontaine 2012-10-25 10:53:51 -04:00 committed by Ben Noordhuis
parent 0f3ddad0fc
commit 02dffb063e
1 changed files with 3 additions and 0 deletions

View File

@ -228,6 +228,9 @@
'defines!': [ 'defines!': [
'PLATFORM="mac"', 'PLATFORM="mac"',
], ],
'xcode_settings': {
'DEAD_CODE_STRIPPING': 'YES',
},
'defines': [ 'defines': [
# we need to use node's preferred "darwin" rather than gyp's preferred "mac" # we need to use node's preferred "darwin" rather than gyp's preferred "mac"
'PLATFORM="darwin"', 'PLATFORM="darwin"',