aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/emacs-native-comp-driver-options.patch
diff options
context:
space:
mode:
authorLiliana Marie Prikler <liliana.prikler@gmail.com>2022-10-15 16:32:04 +0200
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2022-10-15 16:32:04 +0200
commit1682aba2473642f9b282916e4b8f3a1cdb3f35fc (patch)
treec04c53bae28dcc05fdb5039dc28fb1bfb65d47ce /gnu/packages/patches/emacs-native-comp-driver-options.patch
parent4cb5144df0d352b49bddcd4e6d284481fb3d9f36 (diff)
downloadguix-1682aba2473642f9b282916e4b8f3a1cdb3f35fc.tar.gz
guix-1682aba2473642f9b282916e4b8f3a1cdb3f35fc.zip
gnu: emacs-next: Update to 29.0.50-2.4aeb80c.
* gnu/packages/patches/emacs-native-comp-driver-options.patch: New file. * gnu/local.mk: Register it here. * gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-2.4aeb80c.
Diffstat (limited to 'gnu/packages/patches/emacs-native-comp-driver-options.patch')
-rw-r--r--gnu/packages/patches/emacs-native-comp-driver-options.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/gnu/packages/patches/emacs-native-comp-driver-options.patch b/gnu/packages/patches/emacs-native-comp-driver-options.patch
new file mode 100644
index 0000000000..308c4f1212
--- /dev/null
+++ b/gnu/packages/patches/emacs-native-comp-driver-options.patch
@@ -0,0 +1,17 @@
+We substitute this anyway, so let's make it easier to substitute.
+
+--- a/lisp/emacs-lisp/comp.el
++++ b/lisp/emacs-lisp/comp.el
+@@ -178,8 +178,7 @@ and above."
+ :type '(repeat string)
+ :version "28.1")
+
+-(defcustom native-comp-driver-options (when (eq system-type 'darwin)
+- '("-Wl,-w"))
++(defcustom native-comp-driver-options nil
+ "Options passed verbatim to the native compiler's back-end driver.
+ Note that not all options are meaningful; typically only the options
+ affecting the assembler and linker are likely to be useful.
+--
+2.38.0
+