diff --git a/ChangeLog b/ChangeLog index 998820a9..d2feca9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -10,6 +10,13 @@ interactive runs of this test without that wrapper return nil for comparison to the expected (cons 'org-id "generated-org-id". +2026-03-21 Mats Lidell + +* Makefile (HYPB_BYTE_COMP_ELN_LOAD_PATH): Add users eln-cache last in + native-comp-eln-load-path so that batch-byte+native-compile uses that + for storing the en-files. + (%.elc): Use HYPB_BYTE_COMP_ELN_LOAD_PATH. + 2026-03-18 Mats Lidell * hactypes.el (link-to-org-id): Fix quote in docstring. diff --git a/Makefile b/Makefile index b5865a7a..323c3dca 100644 --- a/Makefile +++ b/Makefile @@ -357,12 +357,16 @@ curr_dir = $(shell pwd) ifeq ($(HYPB_NATIVE_COMP),yes) HYPB_BYTE_COMP_INFO = $(HYPB_ELC_ELN) HYPB_BYTE_COMP_FUNC = batch-byte+native-compile +HYPB_BYTE_COMP_ELN_LOAD_PATH = --eval "(add-to-list \ + 'native-comp-eln-load-path (expand-file-name \"eln-cache\" \ + user-emacs-directory) t))" else HYPB_BYTE_COMP_INFO = $(HYPB_ELC) HYPB_BYTE_COMP_FUNC = batch-byte-compile endif %.elc: %.el $(HYPB_BYTE_COMP_INFO)$(EMACS) --batch --quick \ + $(HYPB_BYTE_COMP_ELN_LOAD_PATH) \ --eval "(progn (add-to-list 'load-path \"$(curr_dir)\") (add-to-list 'load-path \"$(curr_dir)/kotl\"))" \ -l bytecomp ${HYPB_BIN_WARN} \ -f $(HYPB_BYTE_COMP_FUNC) $<