2017-09-25 17:10:21 +00:00
|
|
|
Dump temacs in an empty environment to prevent -dev paths from ending
|
|
|
|
up in the dumped image.
|
|
|
|
|
2019-04-12 23:00:03 +00:00
|
|
|
diff --git a/src/Makefile.in b/src/Makefile.in
|
|
|
|
--- a/src/Makefile.in
|
|
|
|
+++ b/src/Makefile.in
|
|
|
|
@@ -535,7 +535,7 @@ ifeq ($(CANNOT_DUMP),yes)
|
2017-09-25 17:10:21 +00:00
|
|
|
ln -f temacs$(EXEEXT) $@
|
|
|
|
else
|
2019-04-12 23:00:03 +00:00
|
|
|
unset EMACS_HEAP_EXEC; \
|
2018-05-28 15:35:20 +00:00
|
|
|
- LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup dump
|
|
|
|
+ env -i LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup dump
|
2017-09-25 17:10:21 +00:00
|
|
|
ifneq ($(PAXCTL_dumped),)
|
|
|
|
$(PAXCTL_dumped) $@
|
|
|
|
endif
|