summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2021-07-16 22:44:46 -0400
committerJonathan Buchanan <jonathan.russ.buchanan@gmail.com>2021-07-16 22:44:46 -0400
commit52d3af86b75d5feda5f31cd258201541900e6d1a (patch)
tree5d7f91417d47146f2364736a41dbc36af441d492
parentc675b58874610d06af659b8421ebc2d1e38efaab (diff)
downloadios-node-v8-52d3af86b75d5feda5f31cd258201541900e6d1a.tar.gz
ios-node-v8-52d3af86b75d5feda5f31cd258201541900e6d1a.tar.bz2
ios-node-v8-52d3af86b75d5feda5f31cd258201541900e6d1a.zip
reduce build size and build time
-rw-r--r--Makefile2
-rw-r--r--tools/gyp/pylib/gyp/xcode_emulation.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 4a6e59536b..c5c1d937ce 100644
--- a/Makefile
+++ b/Makefile
@@ -101,7 +101,7 @@ ifeq ($(BUILD_WITH), make)
$(NODE_EXE): build_type:=Release
$(NODE_G_EXE): build_type:=Debug
$(NODE_EXE) $(NODE_G_EXE): config.gypi out/Makefile
- $(MAKE) -C out BUILDTYPE=${build_type} V=$(V)
+ $(MAKE) -C out BUILDTYPE=${build_type} V=$(V) $(PARALLEL_ARGS)
if [ ! -r $@ -o ! -L $@ ]; then \
ln -fs out/${build_type}/$(NODE_EXE) $@; fi
else
diff --git a/tools/gyp/pylib/gyp/xcode_emulation.py b/tools/gyp/pylib/gyp/xcode_emulation.py
index 010042111f..99b11a6928 100644
--- a/tools/gyp/pylib/gyp/xcode_emulation.py
+++ b/tools/gyp/pylib/gyp/xcode_emulation.py
@@ -611,7 +611,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")