gnu: libstdc++: Fix build for gcc-13.

* gnu/packages/gcc.scm (make-libstdc++)[arguments]: use patch-tzdb.cc phase
for gcc >= 13.

Change-Id: I6e8ae4b973e80c11d67b7333ec2dfa732d1d016a
This commit is contained in:
Zheng Junjie 2025-06-13 21:47:47 +08:00 committed by Andreas Enge
parent 91379033b3
commit 3d2efdbd33
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -1111,7 +1111,7 @@ using compilers other than GCC."
(lambda _ (lambda _
(chdir "libstdc++-v3"))) (chdir "libstdc++-v3")))
#$@(if (version>=? (package-version gcc) "14") #$@(if (version>=? (package-version gcc) "13")
#~((add-after 'unpack 'patch-tzdb.cc #~((add-after 'unpack 'patch-tzdb.cc
(lambda _ (lambda _
(substitute* "libstdc++-v3/src/c++20/tzdb.cc" (substitute* "libstdc++-v3/src/c++20/tzdb.cc"