anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / editors / emacs / native-comp-driver-options-30.patch
blobbd3ff2adf77c165bf3ef98d4a4d2370ab49c135f
1 diff -Naur a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
2 --- old/lisp/emacs-lisp/comp.el 1969-12-31 21:00:01.000000000 -0300
3 +++ source/lisp/emacs-lisp/comp.el 2024-09-13 14:26:37.246614196 -0300
4 @@ -101,8 +101,10 @@
5 :version "28.1")
7 (defcustom native-comp-driver-options
8 - (cond ((eq system-type 'darwin) '("-Wl,-w"))
9 - ((eq system-type 'cygwin) '("-Wl,-dynamicbase")))
10 + (append
11 + (cond ((eq system-type 'darwin) '("-Wl,-w"))
12 + ((eq system-type 'cygwin) '("-Wl,-dynamicbase")))
13 + '(@backendPath@))
14 "Options passed verbatim to the native compiler's back-end driver.
15 Note that not all options are meaningful; typically only the options
16 affecting the assembler and linker are likely to be useful.