[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/51: gnu: libstdc++: Support the 64bit Hurd.
From: |
guix-commits |
Subject: |
11/51: gnu: libstdc++: Support the 64bit Hurd. |
Date: |
Mon, 18 Nov 2024 18:49:08 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit cc8cfd8cc2fc09fdfabcc010dbb7ef6a477c555d
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="
- branch hurd-team created (now 97d520ff96), guix-commits, 2024/11/18
- 03/51: gnu: hurd: Update to 0.9.git20240714., guix-commits, 2024/11/18
- 04/51: gnu: Add basic support for x86_64-pc-gnu target, aka 64bit Hurd., guix-commits, 2024/11/18
- 06/51: gnu: bash-minimal: Support [cross-]build with gcc-14., guix-commits, 2024/11/18
- 11/51: gnu: libstdc++: Support the 64bit Hurd.,
guix-commits <=
- 14/51: gnu: git-minimal: Support [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/11/18
- 23/51: gnu: guile-lzlib: Support [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/11/18
- 21/51: gnu: libedit: Fix [cross-]build with gcc-14 for 32bit., guix-commits, 2024/11/18
- 01/51: gnu: gnumach: Update to v1.8+git20240714., guix-commits, 2024/11/18
- 08/51: gnu: grep: Fix build for the 64bit Hurd., guix-commits, 2024/11/18
- 05/51: gnu: cross-libc: Support cross-building for the 64bit Hurd., guix-commits, 2024/11/18
- 12/51: gnu: glibc/hurd: Add patches for the 64bit Hurd., guix-commits, 2024/11/18
- 13/51: gnu: bash: Avoid hang when cross-built for the Hurd., guix-commits, 2024/11/18
- 15/51: gnu: flex: Fix [cross-]build with gcc-14., guix-commits, 2024/11/18
- 17/51: gnu: perl: Support [cross-]build with gcc-14 and the 64bit Hurd., guix-commits, 2024/11/18