projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
502788b
)
* Fix `native-compile-target-directory' effectiveness on trampolines
author
Andrea Corallo
<akrl@sdf.org>
Fri, 15 Oct 2021 07:26:24 +0000
(09:26 +0200)
committer
Andrea Corallo
<akrl@sdf.org>
Fri, 15 Oct 2021 07:32:20 +0000
(09:32 +0200)
* lisp/emacs-lisp/comp.el (comp-trampoline-compile): Fix
`native-compile-target-directory' effectiveness on trampoline
compilation.
lisp/emacs-lisp/comp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/comp.el
b/lisp/emacs-lisp/comp.el
index 0e4e54b76bb87601f85bdcb0a631779c31e478ca..7b5c5ad44f7c58d21f5ce6aed875fd22891f979f 100644
(file)
--- a/
lisp/emacs-lisp/comp.el
+++ b/
lisp/emacs-lisp/comp.el
@@
-3789,7
+3789,9
@@
Return the trampoline if found or nil otherwise."
(comp--native-compile
form nil
(cl-loop
- for dir in (comp-eln-load-path-eff)
+ for dir in (if native-compile-target-directory
+ (list native-compile-target-directory)
+ (comp-eln-load-path-eff))
for f = (expand-file-name
(comp-trampoline-filename subr-name)
dir)