[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/237: gnu: libstdc++: Fix build for linux with gcc-14.
From: |
guix-commits |
Subject: |
20/237: gnu: libstdc++: Fix build for linux with gcc-14. |
Date: |
Fri, 24 Jan 2025 11:06:23 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit c74008565ecdc26026fce368cb1348921f1fe04e
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 5 15:14:37 2024 +0100
gnu: libstdc++: Fix build for linux with gcc-14.
* gnu/packages/gcc.scm (make-libstdc++)[arguments]: Rename stage
"patch-hurd64
to "patch-tzdb.cc and use for gcc >= 14 unrestrictedly.
Change-Id: Icaf0a31744dc6102d96444f531f3ba1878a61b6c
---
gnu/packages/gcc.scm | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/gcc.scm b/gnu/packages/gcc.scm
index 6247919fec..f50856aca1 100644
--- a/gnu/packages/gcc.scm
+++ b/gnu/packages/gcc.scm
@@ -1029,14 +1029,14 @@ using compilers other than GCC."
(add-before 'configure 'chdir
(lambda _
(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")))))
- '())))
+
+ #$@(if (version>=? (package-version gcc) "14")
+ #~((add-after 'unpack 'patch-tzdb.cc
+ (lambda _
+ (substitute* "libstdc++-v3/src/c++20/tzdb.cc"
+ (("#if ! defined _GLIBCXX_ZONEINFO_DIR")
+ "#if 1 // ! defined _GLIBCXX_ZONEINFO_DIR")))))
+ '()))
#:configure-flags '`("--disable-libstdcxx-pch"
,(string-append "--with-gxx-include-dir="
- branch core-packages-team created (now cdc6e834c2), guix-commits, 2025/01/24
- 03/237: Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd."", guix-commits, 2025/01/24
- 01/237: Revert "Partial revert "gnu: bootstrap: %bootstrap-gcc: Also wrap g++ for the 64bit Hurd."", guix-commits, 2025/01/24
- 35/237: gnu: zziplib: Update to 0.13.78; fixes build with gcc-14., guix-commits, 2025/01/24
- 31/237: gnu: libxaw3d: Update to 1.6.6, fixes build with gcc-14., guix-commits, 2025/01/24
- 37/237: gnu: fontforge: Update to 20230101 and fix build with gettext-0.23., guix-commits, 2025/01/24
- 42/237: gnu: gamin: Fix build with gcc-14., guix-commits, 2025/01/24
- 18/237: gnu: bdb: Use automake-1.16.5., guix-commits, 2025/01/24
- 20/237: gnu: libstdc++: Fix build for linux with gcc-14.,
guix-commits <=
- 24/237: gnu: go-1.21.5: Skip test failing with gcc-14., guix-commits, 2025/01/24
- 38/237: gnu: epson-inkjet-printer-escpr: Fix build with gcc-14., guix-commits, 2025/01/24
- 54/237: gnu: tevent: Update to 0.16.1; fixes build with gcc-14., guix-commits, 2025/01/24
- 41/237: gnu: bdb-4.8: Fix build with gcc-14., guix-commits, 2025/01/24
- 55/237: gnu: ldb: Update to 2.9.2; fixes build with gcc-14., guix-commits, 2025/01/24
- 45/237: gnu: openldap: Update to 2.6.9; fixes build with gcc-14., guix-commits, 2025/01/24
- 74/237: gnu: xorg-server: Update to 21.1.15; fixes build with gcc-14., guix-commits, 2025/01/24
- 81/237: gnu: emacs: Fix build with gcc-14., guix-commits, 2025/01/24
- 100/237: gnu: mediasdk: Update to 23.2.2 and fix build with gcc-14., guix-commits, 2025/01/24
- 102/237: gnu: zxing-cpp-1-2.0: Fix build with gcc-14., guix-commits, 2025/01/24