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

commit 88f6b7beef620912c6a0f470daaa7a738d0482f2
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Thu Jan 2 14:03:30 2025 +0100

    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
---
 gnu/packages/tex.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 3d888d7e17..c54d1e16ea 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -29,7 +29,7 @@
 ;;; Copyright © 2023 John Kehayias <john.kehay...@protonmail.com>
 ;;; Copyright © 2023 Dominik Delgado Steuter <d...@delgado.nrw>
 ;;; Copyright © 2023 Timothy Sample <samp...@ngyro.com>
-;;; Copyright © 2024 Janneke Nieuwenhuizen <jann...@gnu.org>
+;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen <jann...@gnu.org>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -875,7 +875,8 @@ and should be preferred to it whenever a package would 
otherwise depend on
       #:out-of-source? #t
       #:configure-flags
       #~(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"
                 "--disable-native-texlive-build"
                 "--disable-static"

Reply via email to