gnu: texlive-bin: Fix build with gcc-14.

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

Change-Id: I6a961d738fc48501e51e65b353133eaeb9f4c2a3
This commit is contained in:
Janneke Nieuwenhuizen 2025-01-02 14:03:30 +01:00
parent 2da0090dcb
commit d9a0c0769c
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -29,7 +29,7 @@
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw> ;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;; Copyright © 2023 Timothy Sample <samplet@ngyro.com> ;;; Copyright © 2023 Timothy Sample <samplet@ngyro.com>
;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <janneke@gnu.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -875,7 +875,8 @@ (define-public texlive-bin
#:out-of-source? #t #:out-of-source? #t
#:configure-flags #:configure-flags
#~(let ((kpathsea #$(this-package-input "texlive-libkpathsea"))) #~(let ((kpathsea #$(this-package-input "texlive-libkpathsea")))
(list "--with-banner-add=/GNU Guix" (list "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types"
"--with-banner-add=/GNU Guix"
"--enable-shared" "--enable-shared"
"--disable-native-texlive-build" "--disable-native-texlive-build"
"--disable-static" "--disable-static"