[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#74290] [PATCH v3 14/51] gnu: git-minimal: Support [cross-]build wit
From: |
Janneke Nieuwenhuizen |
Subject: |
[bug#74290] [PATCH v3 14/51] gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd. |
Date: |
Tue, 19 Nov 2024 07:54:44 +0100 |
* 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 @@ (define-public git-minimal
;; 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 @@ (define-public git-minimal
(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.
--
2.46.0
- [bug#74290] [PATCH v3 03/51] gnu: hurd: Update to 0.9.git20240714., (continued)
- [bug#74290] [PATCH v3 03/51] gnu: hurd: Update to 0.9.git20240714., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 08/51] gnu: grep: Fix build for the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 04/51] gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 11/51] gnu: libstdc++: Support the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 10/51] gnu: libxcrypt: Support the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 12/51] gnu: glibc/hurd: Add patches for the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 13/51] gnu: bash: Avoid hang when cross-built for the Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 05/51] gnu: cross-libc: Support cross-building for the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 15/51] gnu: flex: Fix [cross-]build with gcc-14., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 09/51] gnu: patch: Fix build for the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 14/51] gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd.,
Janneke Nieuwenhuizen <=
- [bug#74290] [PATCH v3 19/51] gnu: hurd: Fix build with gcc-14., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 23/51] gnu: guile-lzlib: Support [cross-]build with gcc-14 and the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 24/51] gnu: cross-base: Update %xgcc to gcc-14, to support the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 16/51] gnu: libffi: Fix [cross-]build with gcc-14., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 17/51] gnu: perl: Support [cross-]build with gcc-14 and the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 18/51] gnu: texinfo-4: Fix [cross-]build with gcc-14 and the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 21/51] gnu: libedit: Fix [cross-]build with gcc-14 for 32bit., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 27/51] system: image: Add hurd64 image types., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 25/51] gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd., Janneke Nieuwenhuizen, 2024/11/19
- [bug#74290] [PATCH v3 20/51] gnu: netdde: Fix build with gcc-14., Janneke Nieuwenhuizen, 2024/11/19