emacs: remove native-comp-compiler-options-28.patch

Since we do not deal with older Emacsen.

P.S.: We can't delete native-comp-compiler-options.patch yet, because Emacs
Macport is stuck in Emacs 29.
This commit is contained in:
Anderson Torres
2025-05-20 01:26:10 +08:00
committed by Lin Jian
parent 8589725e49
commit 81da9f2934
2 changed files with 1 additions and 19 deletions
@@ -172,9 +172,7 @@ mkDerivation (finalAttrs: {
++ lib.optionals withNativeCompilation [
(replaceVars
(
if lib.versionOlder finalAttrs.version "29" then
./native-comp-driver-options-28.patch
else if lib.versionOlder finalAttrs.version "30" then
if lib.versionOlder finalAttrs.version "30" then
./native-comp-driver-options.patch
else
./native-comp-driver-options-30.patch
@@ -1,16 +0,0 @@
diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el
index a5ab12ae38..e33e71cb55 100644
--- a/lisp/emacs-lisp/comp.el
+++ b/lisp/emacs-lisp/comp.el
@@ -178,7 +178,7 @@ native-comp-compiler-options
:type '(repeat string)
:version "28.1")
-(defcustom native-comp-driver-options nil
+(defcustom native-comp-driver-options '(@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