mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +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
311c646bd8
commit
3c6b20c17d
1 changed files with 3 additions and 2 deletions
|
@ -6,7 +6,7 @@
|
|||
;;; Copyright © 2014 Alex Kost <alezost@gmail.com>
|
||||
;;; Copyright © 2014, 2015 Manolis Fragkiskos Ragkousis <manolis837@gmail.com>
|
||||
;;; Copyright © 2016, 2017, 2019-2023 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016, 2020, 2023, 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2016, 2020, 2023, 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
|
||||
;;; Copyright © 2016, 2018 Alex Vong <alexvong1995@gmail.com>
|
||||
;;; Copyright © 2017 Rene Saavedra <rennes@openmailbox.org>
|
||||
;;; Copyright © 2017, 2020 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||
|
@ -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