summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/emacs-native-comp-driver-options.patch
diff options
context:
space:
mode:
authorMorgan Smith <Morgan.J.Smith@outlook.com>2025-02-26 12:39:43 -0500
committerLiliana Marie Prikler <liliana.prikler@gmail.com>2025-06-15 16:56:43 +0200
commit4aff08d29d213f042cd5c97c1592f15273d3b82d (patch)
tree80e3ddb36c4a90c2948ffb500969fea2a1503951 /gnu/packages/patches/emacs-native-comp-driver-options.patch
parentb2bc6ab38cc82dc00b63eabdaf19d009cd3f2442 (diff)
gnu: emacs: Update to 30.1.
* gnu/packages/emacs.scm (emacs-minimal): Update to 30.1. (guile-emacs): Remove now unneeded phase. * gnu/packages/aux-files/emacs/comp-integrity.el: Replace with… * gnu/packages/aux-files/emacs/comp-integrity-next.el: … this. Delete file. * Makefile.am: Unregister it. * gnu/packages/patches/emacs-exec-path.patch: Replace with… * gnu/packages/patches/emacs-next-exec-path.patch: … this. * gnu/packages/patches/emacs-native-comp-driver-options.patch: Replace with… * gnu/packages/patches/emacs-next-native-comp-driver-options.patch: … this. * gnu/packages/patches/emacs-native-comp-fix-filenames.patch: Replace with… * gnu/packages/patches/emacs-next-native-comp-fix-filenames.patch: … this. Change-Id: Ic144329bfe5a126a5d7e86dd0fdb726cf92de175
Diffstat (limited to 'gnu/packages/patches/emacs-native-comp-driver-options.patch')
-rw-r--r--gnu/packages/patches/emacs-native-comp-driver-options.patch7
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/patches/emacs-native-comp-driver-options.patch b/gnu/packages/patches/emacs-native-comp-driver-options.patch
index 308c4f1212..e4ed5a48f1 100644
--- a/gnu/packages/patches/emacs-native-comp-driver-options.patch
+++ b/gnu/packages/patches/emacs-native-comp-driver-options.patch
@@ -2,12 +2,13 @@ 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."
+@@ -203,9 +203,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
+- (cond ((eq system-type 'darwin) '("-Wl,-w"))
+- ((eq system-type 'cygwin) '("-Wl,-dynamicbase")))
+(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