[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
06/06: gnu: commencement: gcc-final: Support gcc-14 and the 64bit Hurd.
From: |
guix-commits |
Subject: |
06/06: gnu: commencement: gcc-final: Support gcc-14 and the 64bit Hurd. |
Date: |
Wed, 20 Nov 2024 17:06:49 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 0cac719afd40d063fe603167fd6d2e584ee767b8
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Wed Nov 20 22:45:09 2024 +0100
gnu: commencement: gcc-final: Support gcc-14 and the 64bit Hurd.
* gnu/packages/commencement.scm (gcc-final)[arguments]: When building using
gcc >= 14, add CC_FOR_BUILD to #:make-flags to convince gmp's configure that
gcc works.
Change-Id: I1ffe9b16ecfc02e83c29ec93f1df65d28ff72a56
---
gnu/packages/commencement.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 1b0b06935d..29deaea547 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -3260,7 +3260,14 @@ exec ~a/bin/~a-~a -B~a/lib -Wl,-dynamic-linker -Wl,~a/~a
\"$@\"~%"
"/lib -L" zlib "/lib -Wl,-rpath="
zlib "/lib")
flag))
- #$flags)))
+ #$(append
+ flags
+ (if (version>=? (package-version gcc) "14")
+ ;;Convince gmp's configure that gcc works
+ (list (string-append
+ "CC_FOR_BUILD=gcc"
+ " -Wno-implicit-function-declaration"))
+ '())))))
;; Build again GMP & co. within GCC's build process, because it's hard
;; to do outside (because GCC-BOOT0 is a cross-compiler, and thus
;; doesn't honor $LIBRARY_PATH, which breaks `gnu-build-system'.)
- branch hurd-team updated (ced6999bb0 -> 0cac719afd), guix-commits, 2024/11/20
- 04/06: gnu: commencement: gcc-boot0: Support gcc-14 and the 64bit Hurd., guix-commits, 2024/11/20
- 06/06: gnu: commencement: gcc-final: Support gcc-14 and the 64bit Hurd.,
guix-commits <=
- 01/06: gnu: hurd: Add refcounts-assert patch., guix-commits, 2024/11/20
- 02/06: gnu: bootstrap: %bootstrap-gcc: Also wrap g++., guix-commits, 2024/11/20
- 05/06: gnu: gcc-14: Patch lib64 also for the 64bit Hurd., guix-commits, 2024/11/20
- 03/06: gnu: commencement: libstdc++-boot0: Fix build with gcc-14., guix-commits, 2024/11/20