From 247f567d490c47811419cfa18b503ea6d29786ae Mon Sep 17 00:00:00 2001 From: Mats Lidell Date: Tue, 3 Feb 2026 17:06:53 +0100 Subject: [PATCH] Use batch-byte+native-compile for eln target Without elc files being generated Make does more recompiles than necessary when the eln target is used. --- ChangeLog | 4 ++++ Makefile | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index fa0c0e19..ac1e1bac 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2026-02-03 Mats Lidell + +* Makefile (%.elc): Use batch-byte+native-compile. + 2026-02-02 Bob Weiner * test/hywiki-tests.el (hywiki-tests--edit-string-pairs): Enable two more tests diff --git a/Makefile b/Makefile index 50e3a449..3fda256e 100644 --- a/Makefile +++ b/Makefile @@ -350,7 +350,7 @@ ifeq ($(HYPB_NATIVE_COMP),yes) $(HYPB_ELC_ELN)$(EMACS) --batch --quick \ --eval "(progn (add-to-list 'load-path \"$(curr_dir)\") (add-to-list 'load-path \"$(curr_dir)/kotl\"))" \ -l bytecomp ${HYPB_BIN_WARN} \ - -f batch-native-compile $< + -f batch-byte+native-compile $< else %.elc: %.el $(HYPB_ELC)$(EMACS) --batch --quick \