clean-env.patch (648B)
1 Dump temacs in an empty environment to prevent -dev paths from ending 2 up in the dumped image. 3 4 diff --git a/src/Makefile.in b/src/Makefile.in 5 index fd05a45df5..13f529c253 100644 6 --- a/src/Makefile.in 7 +++ b/src/Makefile.in 8 @@ -570,7 +570,7 @@ emacs$(EXEEXT): temacs$(EXEEXT) \ 9 lisp.mk $(etc)/DOC $(lisp) \ 10 $(lispsource)/international/charprop.el ${charsets} 11 ifeq ($(DUMPING),unexec) 12 - LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=dump 13 + env -i LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=dump 14 ifneq ($(PAXCTL_dumped),) 15 $(PAXCTL_dumped) emacs$(EXEEXT) 16 endif