Add 'inhibit-native-compilation'
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 3 Oct 2022 13:26:04 +0000 (15:26 +0200)
committerRob Browning <rlb@defaultvalue.org>
Sun, 24 Mar 2024 21:30:50 +0000 (16:30 -0500)
commit2256c120ffd1d5bdda0f5b19a125bb64987cce65
treebd2706712c319d2ce24f896fc312513be640e958
parenta9de5d0f58bb2e941dfc81086cbd13d45b03c0b0
Add 'inhibit-native-compilation'

The following upstream patch has been backported:

  Add new variable 'inhibit-native-compilation'

  * lisp/startup.el (normal-top-level): Set
  inhibit-native-compilation from environment variable.

  * lisp/emacs-lisp/comp.el (comp-trampoline-compile): Don't write
  trampolines to disk.

  * lisp/progmodes/elisp-mode.el
  (emacs-lisp-native-compile-and-load): Adjust.

  * src/comp.c (syms_of_comp): New variable
  inhibit-native-compilation.
  (maybe_defer_native_compilation): Use it.

Origin: upstream, commit: 5fec9182dbeffa88cef6651d8c798ef9665d6681
Forwarded: not-needed

Gbp-Pq: Name 0012-Add-inhibit-native-compilation.patch
lisp/emacs-lisp/comp.el
lisp/startup.el
src/comp.c