diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm index 4639050623..06005c5eb8 100644 --- a/gnu/packages/base.scm +++ b/gnu/packages/base.scm @@ -6,7 +6,7 @@ ;;; Copyright © 2014 Alex Kost ;;; Copyright © 2014, 2015 Manolis Fragkiskos Ragkousis ;;; Copyright © 2016, 2017, 2019-2023 Efraim Flashner -;;; Copyright © 2016, 2020, 2023, 2024 Janneke Nieuwenhuizen +;;; Copyright © 2016, 2020, 2023, 2024, 2025 Janneke Nieuwenhuizen ;;; Copyright © 2016, 2018 Alex Vong ;;; Copyright © 2017 Rene Saavedra ;;; Copyright © 2017, 2020 Mathieu Othacehe @@ -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