gnu: gf2x: Fix build with gcc-14.

* gnu/packages/algebra.scm (gf2x)[arguments]: New field to relax gcc-14's
strictness.

Change-Id: I5891f800a47ff1b42d912d03111d29cb57afdf8c
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-03 18:13:11 +01:00
parent ad240edb84
commit 69ba7ea7bc
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -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 © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -126,6 +127,10 @@ (define-public gf2x
(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