summaryrefslogtreecommitdiff
path: root/modules/tanelorn/packages/patches/emacs-native-comp-driver-options.patch
diff options
context:
space:
mode:
authorbdunahu <bdunahu@operationnull.com>2026-03-19 00:11:31 -0400
committerbdunahu <bdunahu@operationnull.com>2026-03-19 00:11:31 -0400
commit820f08e9bf8119999b9f940c69dea8e8f1bf71b2 (patch)
treeb03d08a10e19d05407e7a2e5122b0dffd8de24e3 /modules/tanelorn/packages/patches/emacs-native-comp-driver-options.patch
parentb6a2a57db6b24fb35d9555eada25285a15486362 (diff)
tanelorn: Add emacs-next-alpha-fix
* modules/tanelorn/packages/emacs.scm (emacs-next-alpha-fix): New variable. * README: Add emacs-next-alpha-fix.
Diffstat (limited to 'modules/tanelorn/packages/patches/emacs-native-comp-driver-options.patch')
-rw-r--r--modules/tanelorn/packages/patches/emacs-native-comp-driver-options.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/modules/tanelorn/packages/patches/emacs-native-comp-driver-options.patch b/modules/tanelorn/packages/patches/emacs-native-comp-driver-options.patch
new file mode 100644
index 0000000..e4ed5a4
--- /dev/null
+++ b/modules/tanelorn/packages/patches/emacs-native-comp-driver-options.patch
@@ -0,0 +1,18 @@
+We substitute this anyway, so let's make it easier to substitute.
+
+--- a/lisp/emacs-lisp/comp.el
++++ b/lisp/emacs-lisp/comp.el
+@@ -203,9 +203,7 @@ and above."
+ :type '(repeat string)
+ :version "28.1")
+
+-(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
+ affecting the assembler and linker are likely to be useful.
+--
+2.38.0
+