mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 11:53:27 +00:00
8ede52a7c1
Commit 97b928ce09d6034ebcb541fb548e5d4862302add in Emacs messed up the substituteInPlace. Use a patch instead to prevent silent failures. https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=97b928ce09d6034ebcb541fb548e5d4862302add
20 lines
798 B
Diff
20 lines
798 B
Diff
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
|
|
index 2c9b79334b..50c6b5ac85 100644
|
|
--- a/lisp/emacs-lisp/comp.el
|
|
+++ b/lisp/emacs-lisp/comp.el
|
|
@@ -178,8 +178,9 @@ native-comp-compiler-options
|
|
:type '(repeat string)
|
|
:version "28.1")
|
|
|
|
-(defcustom native-comp-driver-options (when (eq system-type 'darwin)
|
|
- '("-Wl,-w"))
|
|
+(defcustom native-comp-driver-options (append (when (eq system-type 'darwin)
|
|
+ '("-Wl,-w"))
|
|
+ '(@backendPath@))
|
|
"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.37.3
|
|
|