gnu: libbraille: Fix build with gcc-14.

* gnu/packages/accessibility.scm (libbraille)[arguments]: Add CFLAGS to #:configure-flags
to relax gcc-14's strictness.

Change-Id: Id16c1f46d2f613a2cc878c9be6b88b3e613091e1
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-05 12:09:50 +01:00
parent f48fb750db
commit e330af4d9b
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -6,6 +6,7 @@
;;; Copyright © 2020, 2023, 2024 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2022 Hunter Jozwiak <hunter.t.joz@gmail.com>
;;; Copyright © 2023 Ivan Gankevich <igankevich@capybaramail.xyz>
;;; Copyright © 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -78,7 +79,8 @@ (define-public libbraille
(arguments
`(#:tests? #f ; Tests require drivers
#:configure-flags
(list "--disable-static"
(list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types"
"--disable-static"
"--enable-fake")
#:phases
(modify-phases %standard-phases