janneke pushed a commit to branch core-packages-team-old in repository guix.
commit a235050b6c824a9197744eb204a6e9254082a319 Author: Janneke Nieuwenhuizen <[email protected]> AuthorDate: Wed Jan 1 11:30:31 2025 +0100 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 --- gnu/packages/base.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 4c96ffa1a4..7db27da287 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2014 Alex Kost <[email protected]> ;;; Copyright © 2014, 2015 Manolis Fragkiskos Ragkousis <[email protected]> ;;; Copyright © 2016, 2017, 2019-2023 Efraim Flashner <[email protected]> -;;; Copyright © 2016, 2020, 2023, 2024 Janneke Nieuwenhuizen <[email protected]> +;;; Copyright © 2016, 2020, 2023, 2024, 2025 Janneke Nieuwenhuizen <[email protected]> ;;; Copyright © 2016, 2018 Alex Vong <[email protected]> ;;; Copyright © 2017 Rene Saavedra <[email protected]> ;;; Copyright © 2017, 2020 Mathieu Othacehe <[email protected]> @@ -1269,7 +1269,8 @@ with the Linux kernel.") (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
