mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: glibc-2.35: Fix build with gcc-14.
* gnu/packages/base.scm (glibc-2.35)[arguments]: Add CFLAGS to #:configure-flags to relax gcc-14's strictness. Change-Id: Ib731ac64e70f1b29655d26dead8b4b970e90f063
This commit is contained in:
parent
de119d1e11
commit
121312b2fa
1 changed files with 2 additions and 1 deletions
|
@ -1253,7 +1253,8 @@ (define-public glibc-2.35
|
|||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments glibc)
|
||||
((#:configure-flags flags #~'())
|
||||
#~(cons* "--enable-crypt"
|
||||
#~(cons* "CFLAGS=-g -O2 -Wno-error=builtin-declaration-mismatch"
|
||||
"--enable-crypt"
|
||||
;; We do not want to use the C++ compiler, because its
|
||||
;; libstdc++ is linked against a newer glibc, and so relies
|
||||
;; on those newer symbols. Pretend it doesn't link (the test
|
||||
|
|
Loading…
Reference in a new issue