summaryrefslogtreecommitdiff
path: root/lang/npm/patches/patch-node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py
blob: d4661e7d0c10b88ab8aa5777915fd25665115af0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-node__modules_node-gyp_gyp_pylib_gyp_xcode__emulation.py,v 1.1 2018/05/02 17:03:09 fhajny Exp $

Do not generate debugging symbols (uses lots of disk space).

--- node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py.orig	2018-03-23 09:08:01.000000000 +0000
+++ node_modules/node-gyp/gyp/pylib/gyp/xcode_emulation.py
@@ -500,7 +500,7 @@ class XcodeSettings(object):
 
     self._Appendf(cflags, 'GCC_OPTIMIZATION_LEVEL', '-O%s', default='s')
 
-    if self._Test('GCC_GENERATE_DEBUGGING_SYMBOLS', 'YES', default='YES'):
+    if self._Test('GCC_GENERATE_DEBUGGING_SYMBOLS', 'YES', default='NO'):
       dbg_format = self._Settings().get('DEBUG_INFORMATION_FORMAT', 'dwarf')
       if dbg_format == 'dwarf':
         cflags.append('-gdwarf-2')