summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2025-01-03 19:18:03 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:24 +0200
commit4d16d7fc4be145481ef0c7375ce7187087a31960 (patch)
treed6d74e38d113b21e052c13496953e9b6a63fab7e
parentf68a3caae80a88e72f0524f01ed9217828406223 (diff)
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
-rw-r--r--gnu/packages/racket.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/racket.scm b/gnu/packages/racket.scm
index a1abfa11fa..e3effed151 100644
--- a/gnu/packages/racket.scm
+++ b/gnu/packages/racket.scm
@@ -4,6 +4,7 @@
;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2021-2025 Philip McGrath <philip@philipmcgrath.com>
;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; 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