guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

183/249: gnu: racket-vm-cgc: Fix build with gcc-14.


From: guix-commits
Subject: 183/249: gnu: racket-vm-cgc: Fix build with gcc-14.
Date: Mon, 6 Jan 2025 07:51:45 -0500 (EST)

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

commit 9b8dcecdf55eb4170a470af88581d2a6b33b4cec
Author: Janneke Nieuwenhuizen <janneke@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 2ff1d159fa..fa19ef3cd8 100644
--- a/gnu/packages/racket.scm
+++ b/gnu/packages/racket.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2020 Pierre Neidhardt <mail@ambrevar.xyz>
 ;;; Copyright © 2021-2024 Philip McGrath <philip@philipmcgrath.com>
 ;;; Copyright © 2021 jgart <jgart@dismail.de>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -288,6 +289,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

[Prev in Thread] Current Thread [Next in Thread]