[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/50: gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit
From: |
guix-commits |
Subject: |
14/50: gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd. |
Date: |
Mon, 18 Nov 2024 16:43:16 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 59df39ea6059a26e05c01e70a3f51937abbe6722
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri Nov 8 08:37:30 2024 +0100
gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd.
* gnu/packages/version-control.scm (git-minimal)[arguments]: When building
for
the 64bit Hurd, or cross-compiling, use "-Wno-implicit-function-declaration"
in #:make-flags. Use target-hurd? instead of comparing with "i586-pc-gnu"
in
"use-host-uname_S" phase.
Change-Id: Ib9836be8a1e389a82c8a89adf22aaeac0d85bd14
---
gnu/packages/version-control.scm | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index c892a83a98..ca77b485ad 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -296,7 +296,10 @@ Python 3.3 and later, rather than on Python 2.")
;; By default 'make install' creates hard links for
;; things in 'libexec/git-core', which leads to huge
;; nars; see <https://bugs.gnu.org/21949>.
- "NO_INSTALL_HARDLINKS=indeed")
+ "NO_INSTALL_HARDLINKS=indeed"
+ #$@(if (or (target-hurd64?) (%current-target-system))
+ #~("-Wno-implicit-function-declaration")
+ #~()))
#:phases
#~(modify-phases %standard-phases
#$@(if (%current-target-system)
@@ -305,7 +308,7 @@ Python 3.3 and later, rather than on Python 2.")
(lambda _
(substitute* "config.mak.uname"
(("uname_S := .*" all)
- (if (equal? #$(%current-target-system)
"i586-pc-gnu")
+ (if #$(target-hurd?)
"uname_S := GNU\n"
all))))))
;; We do not have a full bash when cross-compiling.
- 44/50: gnu: Add gdb-15.2, with support for the 64bit Hurd., (continued)
- 44/50: gnu: Add gdb-15.2, with support for the 64bit Hurd., guix-commits, 2024/11/18
- 12/50: gnu: glibc/hurd: Add patches for the 64bit Hurd., guix-commits, 2024/11/18
- 19/50: gnu: hurd: Fix build with gcc-14., guix-commits, 2024/11/18
- 20/50: gnu: netdde: Fix build with gcc-14., guix-commits, 2024/11/18
- 22/50: gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd., guix-commits, 2024/11/18
- 26/50: gnu: libgpg-error: Support the 64bit Hurd., guix-commits, 2024/11/18
- 33/50: gnu: rumpkernel: Support the 64bit Hurd., guix-commits, 2024/11/18
- 34/50: gnu: hurd: Build fixes for the 64bit Hurd., guix-commits, 2024/11/18
- 36/50: gnu: grub: Fix build for the 64bit Hurd., guix-commits, 2024/11/18
- 11/50: gnu: libstdc++: Support the 64bit Hurd., guix-commits, 2024/11/18
- 14/50: gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd.,
guix-commits <=
- 25/50: system: image: Add hurd64 image types., guix-commits, 2024/11/18
- 17/50: gnu: perl: Support [cross-]building with gcc-14 and for 64bit Hurd., guix-commits, 2024/11/18
- 29/50: gnu: libpciaccess: Support the 64bit Hurd., guix-commits, 2024/11/18
- 32/50: gnu: rumpkernel: Update to f1ffd6405f225336e595a0f99f01095ed7438337., guix-commits, 2024/11/18
- 35/50: gnu: inetutils: Fix build for the 64bit Hurd., guix-commits, 2024/11/18
- 37/50: gnu: guile-fibers: Fix build for the 64bit Hurd., guix-commits, 2024/11/18
- 43/50: gnu: gettext: Fix cross-build shebangs., guix-commits, 2024/11/18
- 40/50: gnu: commencement: mig-boot0: Update to 1.8+git20231217.., guix-commits, 2024/11/18
- 46/50: gnu: bootstrap: %bootstrap-glibc: Also fix libm.so., guix-commits, 2024/11/18
- 49/50: system: examples: Add devel-hurd64.tmpl., guix-commits, 2024/11/18