From 02dffb063e423688557e2f8004eb817d7626bf41 Mon Sep 17 00:00:00 2001 From: Timothy J Fontaine Date: Thu, 25 Oct 2012 10:53:51 -0400 Subject: [PATCH] build: enable DEAD_CODE_STRIPPING on OS X --- node.gyp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/node.gyp b/node.gyp index 2e72932b1db..6c8dcee837b 100644 --- a/node.gyp +++ b/node.gyp @@ -228,6 +228,9 @@ 'defines!': [ 'PLATFORM="mac"', ], + 'xcode_settings': { + 'DEAD_CODE_STRIPPING': 'YES', + }, 'defines': [ # we need to use node's preferred "darwin" rather than gyp's preferred "mac" 'PLATFORM="darwin"',