[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/40: gnu: libstdc++: Support the 64bit Hurd.
From: |
guix-commits |
Subject: |
12/40: gnu: libstdc++: Support the 64bit Hurd. |
Date: |
Tue, 12 Nov 2024 11:21:59 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 7d1dafc36c5b23a342dced99c93cd8033a3bc852
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="
- 38/40: gnu: flex: Fix build for the 64bit Hurd., (continued)
- 38/40: gnu: flex: Fix build for the 64bit Hurd., guix-commits, 2024/11/12
- 13/40: gnu: gcc-13, gcc-14: Support being used as parent for gcc-static., guix-commits, 2024/11/12
- 14/40: DRAFT gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd., guix-commits, 2024/11/12
- 16/40: gnu: Add libgpg-error-1.50., guix-commits, 2024/11/12
- 33/40: gnu: commencement: mig-boot0: Update to 1.8+git20231217.., guix-commits, 2024/11/12
- 37/40: gnu: texinfo-4: Fix build for the 64bit Hurd., guix-commits, 2024/11/12
- 22/40: gnu: netdde: Update to c0ef248dc7c5ccc1273e2a796f3ece30c5b645df., guix-commits, 2024/11/12
- 25/40: gnu: rumpkernel: Support the 64bit Hurd., guix-commits, 2024/11/12
- 36/40: gnu: gettext: Fix cross-build shebangs., guix-commits, 2024/11/12
- 11/40: gnu: libxcrypt: Support the 64bit Hurd., guix-commits, 2024/11/12
- 12/40: gnu: libstdc++: Support the 64bit Hurd.,
guix-commits <=
- 17/40: gnu: libgcrypt: Use libgpg-error-1.50 for the 64bit Hurd., guix-commits, 2024/11/12
- 21/40: gnu: libpciaccess: Support the 64bit Hurd., guix-commits, 2024/11/12
- 23/40: gnu: netdde: Support the 64bit Hurd., guix-commits, 2024/11/12
- 24/40: gnu: rumpkernel: Update to f1ffd6405f225336e595a0f99f01095ed7438337., guix-commits, 2024/11/12
- 26/40: gnu: hurd: Build fixes for the 64bit Hurd., guix-commits, 2024/11/12
- 32/40: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20240714., guix-commits, 2024/11/12
- 35/40: gnu: commencement: libstdc++-boot0-gcc7: Replace by make-libstdc++-boot0., guix-commits, 2024/11/12
- 39/40: system: examples: Add bare-hurd64.tmpl., guix-commits, 2024/11/12
- 40/40: system: examples: Add devel-hurd64.tmpl., guix-commits, 2024/11/12