[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/50: gnu: libstdc++: Support the 64bit Hurd.
From: |
guix-commits |
Subject: |
11/50: gnu: libstdc++: Support the 64bit Hurd. |
Date: |
Mon, 18 Nov 2024 16:43:15 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 6d770dcdb6fb20da2e9d4290210565999e0f32a9
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 c9e475b676..64ba37fd69 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1024,7 +1024,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="
- 41/50: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20240714., (continued)
- 41/50: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20240714., guix-commits, 2024/11/18
- 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 <=
- 14/50: gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/11/18
- 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