From 6f1661f80224d4a215eaff58f15ab4bd479a2f92 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Thu, 2 Jan 2025 14:03:30 +0100 Subject: [PATCH] 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 f2456778fb2931230ebb2e342b8ea3dc6a70b36e..cde389b7007ab329a905d644133c339d95be378d 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -29,7 +29,7 @@ ;;; Copyright © 2023 John Kehayias ;;; Copyright © 2023 Dominik Delgado Steuter ;;; Copyright © 2023 Timothy Sample -;;; Copyright © 2024 Janneke Nieuwenhuizen +;;; Copyright © 2024, 2025 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -877,7 +877,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"