summaryrefslogtreecommitdiff
path: root/gnu/packages/fontutils.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/fontutils.scm')
-rw-r--r--gnu/packages/fontutils.scm14
1 files changed, 12 insertions, 2 deletions
diff --git a/gnu/packages/fontutils.scm b/gnu/packages/fontutils.scm
index 294a2f2c38..8603f7224f 100644
--- a/gnu/packages/fontutils.scm
+++ b/gnu/packages/fontutils.scm
@@ -12,7 +12,7 @@
;;; Copyright © 2019, 2020, 2022 Marius Bakke <marius@gnu.org>
;;; Copyright © 2020 Roel Janssen <roel@gnu.org>
;;; Copyright © 2020, 2021, 2024 Nicolas Goaziou <mail@nicolasgoaziou.fr>
-;;; Copyright © 2021-2024 Maxim Cournoyer <maxim.cournoyer@gmail.com>
+;;; Copyright © 2021-2024 Maxim Cournoyer <maxim@guixotic.coop>
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
;;; Copyright © 2022 Felipe Balbi <balbi@kernel.org>
;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com>
@@ -24,6 +24,7 @@
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2024 Sou Bunnbu (宋文武) <iyzsong@gmail.com>
;;; Copyright © 2025 Ashish SHUKLA <ashish.is@lostca.se>
+;;; Copyright © 2025 Alexey Abramov <levenson@mmer.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -113,7 +114,14 @@
;; The use of "freetype-config" is deprecated, but other packages still
;; depend on it.
(list
- #:configure-flags #~(list "--enable-freetype-config")
+ #:configure-flags #~(list "--enable-freetype-config"
+ ;; armhf-linux: Disable SLP vectorization.
+ ;; gcc-14 optimization bug that breaks
+ ;; ghostscript PostScript font handling (fixed
+ ;; in gcc-15). See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=119155
+ #$@(if (target-arm32?)
+ (list "CFLAGS=-g -O2 -fno-tree-slp-vectorize")
+ '()))
#:disallowed-references (list pkg-config)
#:phases
#~(modify-phases %standard-phases
@@ -1408,6 +1416,8 @@ high quality, anti-aliased and subpixel rendered text on a display.")
;; Making the documentation requires latex, but t1lib is also an input
;; for building texlive.
`(#:tests? #f ; no test target
+ #:configure-flags
+ '("CFLAGS=-g -O2 -Wno-error=implicit-int")
#:make-flags
'("without_doc")))
(synopsis "Library for generating bitmaps from Type 1 fonts")