>From d70da533ddd0152f7d358854b184855932d6390c Mon Sep 17 00:00:00 2001 From: "Jorge P. de Morais Neto" <jorge+...@disr.it> Date: Sat, 24 Sep 2022 19:58:21 -0300 Subject: [PATCH] Undo 97b928ce09d6034ebcb541fb548e5d4862302add for Guix
The aforementioned commit breaks Guix's emacs recipe. The recipe could trivially be fixed by Guix developers, but for a user this patch is more convenient. --- lisp/emacs-lisp/comp.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/comp.el b/lisp/emacs-lisp/comp.el index abab9107ae..eee25f2557 100644 --- a/lisp/emacs-lisp/comp.el +++ b/lisp/emacs-lisp/comp.el @@ -178,8 +178,7 @@ 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 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.37.3
Hi. I have versionitis---obsession with running the current version of my favorite packages. So I install emacs-next with the following package transformation option: --with-branch=emacs-next=master I have a script that excludes emacs-next from regular `guix upgrade', because upgrading from Git master every day would be too much. I upgrade emacs-next every fortnight. Most often this builds and works correctly, but, yesterday, Guix-installed emacs-next stopped working with native compilation. I traced the problem to Emacs commit 97b928ce09d6034ebcb541fb548e5d4862302add which changes the default value of option `native-comp-driver-options'. That change is not beneficial to GNU/Linux and breaks Guix's emacs-next recipe. The recipe could be trivially fixed by Guix developers, but for Guix users I find it more convenient to install emacs-next with the attached patch. I will later report the problem to guix-devel so they fix the recipe. Meanwhile, those who want a fresh emacs-next can save the attached patch in their computer and install emacs-next like this: guix install --with-branch=emacs-next=master --with-patch=emacs-next=PATCH emacs-next Where PATCH is the path to the patch in your computer. Hope this helps! Regards, Jorge -- - Many people hate injustice but few check the facts; this causes more injustice. Ask me about <https://stallmansupport.org> - I am Brazilian. I hope my English is correct and I welcome feedback. - Free Software Supporter: https://www.fsf.org/free-software-supporter - If an email of mine arrives at your spam box, please notify me.