summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanneke Nieuwenhuizen <janneke@gnu.org>2025-01-02 14:03:30 +0100
committerAndreas Enge <andreas@enge.fr>2025-07-18 20:17:21 +0200
commit6f1661f80224d4a215eaff58f15ab4bd479a2f92 (patch)
treec65d79ab3e8aa1050874368b2e1aac4db72b9fa1
parentf60db691639e11b7cdab7cbe87f2b57a0320304d (diff)
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
-rw-r--r--gnu/packages/tex.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index f2456778fb..cde389b700 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -29,7 +29,7 @@
;;; Copyright © 2023 John Kehayias <john.kehayias@protonmail.com>
;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw>
;;; 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.
;;;
@@ -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"