janneke pushed a commit to branch core-packages-team
in repository guix.

commit 728a9c94a50e8208abe0be4c337cb8060a32a87b
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
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 <m...@ambrevar.xyz>
 ;;; Copyright © 2021-2024 Philip McGrath <phi...@philipmcgrath.com>
 ;;; Copyright © 2021 jgart <jg...@dismail.de>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <jann...@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

Reply via email to