summaryrefslogtreecommitdiff
path: root/nextstep
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-07-31 10:55:06 +0800
committerPo Lu <luangruo@yahoo.com>2022-07-31 10:55:06 +0800
commit3d6af11c42453065d5ace1223fe99228b7927318 (patch)
tree4ec90e5ffc7530a2d7605c282c15e25bb750b6a2 /nextstep
parentb7f227ed8bece1a8fafd36ce5f0ee0d5913b6f8b (diff)
downloademacs-3d6af11c42453065d5ace1223fe99228b7927318.tar.gz
Fix NS unexec build
* nextstep/Makefile.in (all): Only build Emacs.pdmp on pdumper builds. * src/sheap.h: Make STATIC_HEAP_SIZE bigger, otherwise I get: static heap exhausted: avail 67108864 used 67101824 failed request 20480
Diffstat (limited to 'nextstep')
-rw-r--r--nextstep/Makefile.in6
1 files changed, 5 insertions, 1 deletions
diff --git a/nextstep/Makefile.in b/nextstep/Makefile.in
index 9c7059f2c0b..ee883f3cff9 100644
--- a/nextstep/Makefile.in
+++ b/nextstep/Makefile.in
@@ -45,7 +45,11 @@ ns_check_file = @ns_appdir@/@ns_check_file@
.PHONY: all
-all: ${ns_appdir} ${ns_appbindir}/Emacs ${ns_applibexecdir}/Emacs.pdmp
+ifeq ($(DUMPING),pdumper)
+ns_pdump_target = ${ns_applibexecdir}/Emacs.pdmp
+endif
+
+all: ${ns_appdir} ${ns_appbindir}/Emacs ${ns_pdmp_target}
${ns_check_file}: ${ns_appdir}