mirror of https://github.com/nodejs/node.git
build: enable DEAD_CODE_STRIPPING on OS X
parent
0f3ddad0fc
commit
02dffb063e
3
node.gyp
3
node.gyp
|
@ -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"',
|
||||||
|
|
Loading…
Reference in New Issue