summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2025-01-01 11:30:31 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:18 +0200
commitb61cd3fe4019cb6ce66594c02edcb509a4346cbf (patch)
tree060f8f66684503db1a36577f4d59dd349333e0d9 /gnu
parent659351f0cf5d01e2df22c5ad66213165890479ea (diff)
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
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/base.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index d9501a27add..0d017ef5b06 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -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>
@@ -1267,7 +1267,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