janneke pushed a commit to branch core-packages-team
in repository guix.
commit 983fea2d9237ec80a2457a72b1c7e5213f427a91
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Fri Jan 3 19:18:03 2025 +0100
gnu: racket-vm-cgc: Fix build with gcc-14.
* gnu/packages/racket.scm (racket-vm-common-configure-flags): Add CFLAGS to
relax gcc-14's strictness.
Change-Id: I5886d04ec666c510ade0d582dc2250082bee031f
---
gnu/packages/racket.scm | 2 ++
1 file changed, 2 insertions(+)
diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm
index 5262f7277f..be0c4589c1 100644
--- a/gnu/packages/racket.scm
+++ b/gnu/packages/racket.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2020 Pierre Neidhardt <[email protected]>
;;; Copyright © 2021-2024 Philip McGrath <[email protected]>
;;; Copyright © 2021 jgart <[email protected]>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -289,6 +290,7 @@ One of the early layers implements macros.")
(list (string-append "--enable-racket=" racket))))
(else
'()))
+ "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration"
"--disable-strip"
;; Using --enable-origtree lets us distinguish the VM from subsequent
;; layers and produces a build with the shape expected by tools such as