[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/59: gnu: git-minimal: Support the 64bit Hurd.
From: |
guix-commits |
Subject: |
45/59: gnu: git-minimal: Support the 64bit Hurd. |
Date: |
Mon, 11 Nov 2024 09:56:10 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit ab55c68442e9638d8c6e6d66732b9056686c52cf
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri Nov 8 08:37:30 2024 +0100
gnu: git-minimal: Support the 64bit Hurd.
* gnu/packages/version-control.scm (git-minimal)[arguments]: When using gcc
>=
14, 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 | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 6bd37fee82..136d52af51 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -111,6 +111,7 @@
#:use-module (gnu packages file)
#:use-module (gnu packages flex)
#:use-module (gnu packages freedesktop)
+ #:use-module (gnu packages gcc)
#:use-module (gnu packages gettext)
#:use-module (gnu packages gl)
#:use-module (gnu packages glib)
@@ -292,7 +293,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 (version>=? (package-version (current-gcc)) "14")
+ #~("-Wno-implicit-function-declaration")
+ #~()))
#:phases
#~(modify-phases %standard-phases
#$@(if (%current-target-system)
@@ -301,7 +305,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.
- 10/59: installer: Remove unused (newt) imports., (continued)
- 10/59: installer: Remove unused (newt) imports., guix-commits, 2024/11/11
- 29/59: gnu: libxcrypt: Support the 64bit Hurd., guix-commits, 2024/11/11
- 31/59: gnu: gcc-13, gcc-14: Support being used as parent for gcc-static., guix-commits, 2024/11/11
- 41/59: gnu: netdde: Support the 64bit Hurd., guix-commits, 2024/11/11
- 37/59: gnu: openssl-3.0: Support the 64bit Hurd., guix-commits, 2024/11/11
- 38/59: gnu: pciutils: Support the 64bit Hurd., guix-commits, 2024/11/11
- 40/59: gnu: netdde: Update to c0ef248dc7c5ccc1273e2a796f3ece30c5b645df., guix-commits, 2024/11/11
- 56/59: system: examples: devel-hurd: Add hurd dependencies., guix-commits, 2024/11/11
- 52/59: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20240714., guix-commits, 2024/11/11
- 48/59: gnu: guile-fibers: Fix build for the 64bit Hurd., guix-commits, 2024/11/11
- 45/59: gnu: git-minimal: Support the 64bit Hurd.,
guix-commits <=
- 44/59: gnu: hurd: Build fixes for the 64bit Hurd., guix-commits, 2024/11/11
- 43/59: gnu: rumpkernel: Support the 64bit Hurd., guix-commits, 2024/11/11
- 39/59: gnu: libpciaccess: Support the 64bit Hurd., guix-commits, 2024/11/11
- 42/59: gnu: rumpkernel: Update to f1ffd6405f225336e595a0f99f01095ed7438337., guix-commits, 2024/11/11
- 57/59: gnu: gettext: Fix cross-build shebangs., guix-commits, 2024/11/11
- 59/59: gnu: flex: Fix build for the 64bit Hurd., guix-commits, 2024/11/11
- 47/59: gnu: grub: Fix build for the 64bit Hurd., guix-commits, 2024/11/11
- 50/59: squash! gnu: gnumach: Update to v1.8+git20240714., guix-commits, 2024/11/11
- 54/59: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20240714., guix-commits, 2024/11/11
- 51/59: gnu: m4: Fix build for the 64bit Hurd., guix-commits, 2024/11/11