[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
29/47: gnu: libstdc++: Support the 64bit Hurd.
From: |
guix-commits |
Subject: |
29/47: gnu: libstdc++: Support the 64bit Hurd. |
Date: |
Sat, 9 Nov 2024 09:37:53 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 7fabd36368c05fb01716065952dd8c7e086f02f3
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Nov 4 19:58:01 2024 +0100
gnu: libstdc++: Support the 64bit Hurd.
* gnu/packages/gcc.scm (make-libstdc++)[arguments]: When building for the
64bit Hurd, add stage patch-hurd64.
Change-Id: I795a591ef8282ee5b760fec43bd4ad849007f602
---
gnu/packages/gcc.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index fc3746fb05..850a14cb1c 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1033,7 +1033,15 @@ using compilers other than GCC."
(("/lib64") "/lib")))))
(add-before 'configure 'chdir
(lambda _
- (chdir "libstdc++-v3"))))
+ (chdir "libstdc++-v3")))
+ #$@(let ((version (package-version gcc)))
+ (if (target-hurd64?)
+ #~((add-after 'unpack 'patch-hurd64
+ (lambda _
+ (substitute* "libstdc++-v3/src/c++20/tzdb.cc"
+ (("#if ! defined _GLIBCXX_ZONEINFO_DIR")
+ "#if __GNU__ || ! defined
_GLIBCXX_ZONEINFO_DIR")))))
+ '())))
#:configure-flags '`("--disable-libstdcxx-pch"
,(string-append "--with-gxx-include-dir="
- 11/47: installer: Align comments., (continued)
- 11/47: installer: Align comments., guix-commits, 2024/11/09
- 17/47: installer: Add static-networking template., guix-commits, 2024/11/09
- 18/47: installer: Support dry-run from Guile via store., guix-commits, 2024/11/09
- 22/47: gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd., guix-commits, 2024/11/09
- 27/47: gnu: patch: Fix build for the 64bit Hurd., guix-commits, 2024/11/09
- 25/47: gnu: elfutils: Fix build for 64bit Hurd., guix-commits, 2024/11/09
- 10/47: installer: Remove unused (newt) imports., guix-commits, 2024/11/09
- 13/47: installer: Fix file-name typos., guix-commits, 2024/11/09
- 26/47: gnu: grep: Fix build for the 64bit Hurd., guix-commits, 2024/11/09
- 30/47: gnu: gcc-13, gcc-14: Support being used as parent for gcc-static., guix-commits, 2024/11/09
- 29/47: gnu: libstdc++: Support the 64bit Hurd.,
guix-commits <=
- 46/47: gnu: grub: Fix build for the 64bit Hurd., guix-commits, 2024/11/09
- 45/47: gnu: inetutils: Fix build for the 64bit Hurd., guix-commits, 2024/11/09
- 08/47: system: examples: Add devel-hurd.tmpl., guix-commits, 2024/11/09
- 12/47: installer: Use "partitioning-page" consistently., guix-commits, 2024/11/09
- 14/47: installer: Use `%' for parameter %run-command-in-installer., guix-commits, 2024/11/09
- 19/47: gnu: gnumach: Update to v1.8+git20240406., guix-commits, 2024/11/09
- 21/47: gnu: gcc: Add indirections current-gcc, current-gcc-toolchain., guix-commits, 2024/11/09
- 15/47: installer: Add dry-run?, guix-commits, 2024/11/09
- 16/47: installer: Add "Kernel" page to select the Hurd., guix-commits, 2024/11/09
- 20/47: gnu: hurd: Update to v0.9.git20240714., guix-commits, 2024/11/09