summaryrefslogtreecommitdiff
path: root/lisp/Makefile.in
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2022-10-03 12:45:21 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-10-03 12:45:21 +0200
commite245c4f226979ccb717cccc8f82b2b0a0f96bdac (patch)
treeef67fff370632f4950dd3924b56a6445ee249619 /lisp/Makefile.in
parent450d94920f5abc36167beb02be909ff65a7f4111 (diff)
downloademacs-e245c4f226979ccb717cccc8f82b2b0a0f96bdac.tar.gz
Add --with-native-compilation=aot configuration option
* configure.ac: Allow --with-native-compilation=aot to switch full ahead-of-time on. * lisp/Makefile.in: Use the setting from configure.
Diffstat (limited to 'lisp/Makefile.in')
-rw-r--r--lisp/Makefile.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/Makefile.in b/lisp/Makefile.in
index 4c26e423701..256017f6c5b 100644
--- a/lisp/Makefile.in
+++ b/lisp/Makefile.in
@@ -31,10 +31,16 @@ EXEEXT = @EXEEXT@
XARGS_LIMIT = @XARGS_LIMIT@
HAVE_NATIVE_COMP = @HAVE_NATIVE_COMP@
+NATIVE_COMPILATION_AOT = @NATIVE_COMPILATION_AOT@
ifeq ($(HAVE_NATIVE_COMP),yes)
+# Environment variable to enable Ahead-Of-Time compilation.
ifndef NATIVE_FULL_AOT
NATIVE_SKIP_NONDUMP = 1
endif
+# Configured for Ahead-Of-Time compilation.
+ifeq ($(NATIVE_COMPILATION_AOT),yes)
+NATIVE_SKIP_NONDUMP = ""
+endif
endif
-include ${top_builddir}/src/verbose.mk