~ruther/guix-local

ref: 56daf847a067b806f4e333c8849b387ea30df6e3 guix-local/gnu/packages/patches/emacs-disable-jit-compilation.patch -rw-r--r-- 864 bytes
56daf847 — Christopher Baines gnu: nar-herder: Update to 0-44.3794b25. 5 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: emacs-29.2/src/comp.c
===================================================================
--- emacs-29.2.orig/src/comp.c
+++ emacs-29.2/src/comp.c
@@ -5648,8 +5648,12 @@ For internal use. */);
     doc: /* If non-nil, compile loaded .elc files asynchronously.
 
 After compilation, each function definition is updated to use the
-natively-compiled one.  */);
-  native_comp_jit_compilation = true;
+natively-compiled one.  This variable is enabled by default upstream,
+but disabled in Guix to better make use of precompiled packages.
+Notably, Guix removes the hashes that prevent inadvertent shadowing
+frm the file names of compiled libraries in order to facilitate grafts.
+Enable at your own risk!  */);
+  native_comp_jit_compilation = false;
 
   DEFSYM (Qnative_comp_speed, "native-comp-speed");
   DEFSYM (Qnative_comp_debug, "native-comp-debug");