diff options
author | Andrea Corallo <akrl@sdf.org> | 2020-09-11 10:51:39 +0200 |
---|---|---|
committer | Andrea Corallo <akrl@sdf.org> | 2020-09-11 11:01:11 +0200 |
commit | 3c58403b0f9b732e045230ce34f1b5a8460630ac (patch) | |
tree | 2d955cf190c072b041af8e2f589a6a6b92fc7f60 /lisp/emacs-lisp | |
parent | cb293cfb929dfbecb3057dde2115399b89350a9b (diff) | |
download | emacs-3c58403b0f9b732e045230ce34f1b5a8460630ac.tar.gz emacs-3c58403b0f9b732e045230ce34f1b5a8460630ac.tar.bz2 emacs-3c58403b0f9b732e045230ce34f1b5a8460630ac.zip |
By default when building native compile only what's part of the dump image
To Ahead of Time compile the whole Emacs distro define NATIVE_FULL_AOT
when invoking make ex: 'make NATIVE_FULL_AOT=1'.
* lisp/Makefile.in (NATIVE_SKIP_NONDUMP): New variable.
(compile-main): Use it + rename NATIVE_DISABLE -> NATIVE_DISABLED.
* lisp/emacs-lisp/comp.el
(batch-byte-native-compile-for-bootstrap): Rename NATIVE_DISABLE
-> NATIVE_DISABLED.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/comp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index cfc5ca55488..e1920dbc033 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -2731,7 +2731,7 @@ Ultra cheap impersonation of `batch-byte-compile'." "As `batch-byte-compile' but used for booststrap. Always generate elc files too and handle native compiler expected errors." (comp-ensure-native-compiler) - (if (equal (getenv "NATIVE_DISABLE") "1") + (if (equal (getenv "NATIVE_DISABLED") "1") (batch-byte-compile) (cl-assert (= 1 (length command-line-args-left))) (let ((byte-native-for-bootstrap t) |