guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

225/227: gnu: Add binutils-next.


From: guix-commits
Subject: 225/227: gnu: Add binutils-next.
Date: Thu, 11 Nov 2021 12:30:56 -0500 (EST)

apteryx pushed a commit to branch core-updates-frozen
in repository guix.

commit ac6f6772496378893a8ebfce4bf1707aed2fe089
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Wed Nov 10 11:03:12 2021 -0500

    gnu: Add binutils-next.
    
    * gnu/packages/base.scm (binutils-next): New variable.
---
 gnu/packages/base.scm | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 41641c7..c2db2f0 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -558,6 +558,23 @@ included.")
    (license gpl3+)
    (home-page "https://www.gnu.org/software/binutils/";)))
 
+;;; TODO: Merge into binutils on the next world rebuild.
+(define-public binutils-next
+  (package/inherit binutils
+    (name "binutils-next")
+    (version "2.37")
+    (arguments
+     (substitute-keyword-arguments (package-arguments binutils)
+       ((#:out-of-source? _ #f)         ;recommended in the README
+        #t)
+       ((#:configure-flags flags)
+        `(cons* "--enable-64-bit-bfd"
+                "--enable-compressed-debug-sections=all"
+                "--enable-lto"
+                "--enable-separate-code"
+                "--enable-threads"
+                ,flags))))))
+
 ;; FIXME: ath9k-firmware-htc-binutils.patch do not apply on 2.34 because of a
 ;; big refactoring of xtensa-modules.c (commit 567607c11fbf7105 upstream).
 ;; Keep this version around until the patch is updated.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]