diff options
Diffstat (limited to 'gnu/packages/patches/emacs-native-comp-driver-options.patch')
-rw-r--r-- | gnu/packages/patches/emacs-native-comp-driver-options.patch | 7 |
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 |