anvil-editor: init at 0.4
[NixPkgs.git] / pkgs / applications / editors / emacs / native-comp-driver-options.patch
blob58eee35aed0af3f5efbb63927b93f98e67f0087e
1 diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
2 index 2c9b79334b..50c6b5ac85 100644
3 --- a/lisp/emacs-lisp/comp.el
4 +++ b/lisp/emacs-lisp/comp.el
5 @@ -178,8 +178,9 @@ native-comp-compiler-options
6 :type '(repeat string)
7 :version "28.1")
9 -(defcustom native-comp-driver-options (when (eq system-type 'darwin)
10 - '("-Wl,-w"))
11 +(defcustom native-comp-driver-options (append (when (eq system-type 'darwin)
12 + '("-Wl,-w"))
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.
17 --
18 2.37.3