Index: emacs-29.4/src/Makefile.in =================================================================== --- emacs-29.4.orig/src/Makefile.in +++ emacs-29.4/src/Makefile.in @@ -640,7 +640,7 @@ endif ifeq ($(DUMPING),pdumper) $(pdmp): emacs$(EXEEXT) $(lispsource)/loaddefs.el $(lispsource)/loaddefs.elc - LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \ + LC_ALL=C timeout 10m dettrace -- $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \ --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) cp -f $@ $(bootstrap_pdmp) endif @@ -883,7 +883,7 @@ NATIVE_COMPILATION_AOT = @NATIVE_COMPILA if test $(SYSTEM_TYPE) = cygwin; then \ find $@ -name '*.eln' | rebase -v -O -T -; \ fi; \ - LC_ALL=C $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \ + LC_ALL=C timeout 10m dettrace -- $(RUN_TEMACS) -batch $(BUILD_DETAILS) -l loadup --temacs=pdump \ --bin-dest $(BIN_DESTDIR) --eln-dest $(ELN_DESTDIR) \ && cp -f emacs$(EXEEXT) bootstrap-emacs$(EXEEXT) \ && cp -f $(pdmp) $(bootstrap_pdmp); \