From 4d16d7fc4be145481ef0c7375ce7187087a31960 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Fri, 3 Jan 2025 19:18:03 +0100 Subject: [PATCH] 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 a1abfa11fa..e3effed151 100644 --- a/gnu/packages/racket.scm +++ b/gnu/packages/racket.scm @@ -4,6 +4,7 @@ ;;; Copyright © 2020 Pierre Neidhardt ;;; Copyright © 2021-2025 Philip McGrath ;;; Copyright © 2021 jgart +;;; Copyright © 2025 Janneke Nieuwenhuizen ;;; ;;; 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