diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 179adbf18a5..f2456778fb2 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -29,6 +29,7 @@ ;;; Copyright © 2023 John Kehayias ;;; Copyright © 2023 Dominik Delgado Steuter ;;; Copyright © 2023 Timothy Sample +;;; Copyright © 2024 Janneke Nieuwenhuizen ;;; ;;; This file is part of GNU Guix. ;;; @@ -97535,7 +97536,10 @@ that it will build with web2c out of the box.") (arguments (substitute-keyword-arguments (package-arguments texlive-bin) ((#:configure-flags flags) - #~(cons "--enable-xdvik" (delete "--enable-web2c" #$flags))) + #~(cons* + "CFLAGS=-g -O2 -Wno-error=incompatible-pointer-types" + "--enable-xdvik" + (delete "--enable-web2c" #$flags))) ((#:phases phases) #~(modify-phases #$phases (replace 'check