guix-commits
[Top][All Lists]
Advanced

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

176/246: gnu: gf2x: Fix build with gcc-14.


From: guix-commits
Subject: 176/246: gnu: gf2x: Fix build with gcc-14.
Date: Sun, 12 Jan 2025 10:21:42 -0500 (EST)

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

commit ac0a30a5c7f147675624a93e2c9c97692c77ce2d
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Fri Jan 3 18:13:11 2025 +0100

    gnu: gf2x: Fix build with gcc-14.
    
    * gnu/packages/algebra.scm (gf2x)[arguments]: New field to relax gcc-14's
    strictness.
    
    Change-Id: I5891f800a47ff1b42d912d03111d29cb57afdf8c
---
 gnu/packages/algebra.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm
index 5da77b6318..133b298baa 100644
--- a/gnu/packages/algebra.scm
+++ b/gnu/packages/algebra.scm
@@ -16,6 +16,7 @@
 ;;; Copyright © 2021 Lars-Dominik Braun <ldb@leibniz-psychology.org>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2023 Mehmet Tekman <mtekman89@gmail.com>
+;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -126,6 +127,10 @@ multiplication routines such as Toom–Cook and the FFT.")
                (base32
                 "04g5jg0i4vz46b4w2dvbmahwzi3k6b8g515mfw7im1inc78s14id"))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+      #:configure-flags
+      #~(list "CFLAGS=-g -O2 -Wno-error=implicit-function-declaration")))
     (native-inputs (list autoconf automake libtool))
     (synopsis "Arithmetic of polynomials over binary finite fields")
     (description



reply via email to

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