1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

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
This commit is contained in:
Janneke Nieuwenhuizen
2025-01-03 19:18:03 +01:00
committed by Andreas Enge
parent f68a3caae8
commit 4d16d7fc4b

View File

@@ -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