diff options
author | Zheng Junjie <z572@z572.online> | 2025-07-12 20:16:24 +0800 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-17 22:21:14 +0200 |
commit | a76f20c26d19b3bdea3dff9eacacba53e4c153a9 (patch) | |
tree | 2b3e2904e9e5a3923cd106fd184c2827faf35796 | |
parent | 89075c708e2b8430e76a6bcab35c8d501568b233 (diff) |
gnu: enchant-1.6: Fix build with gcc-14.
* gnu/packages/enchant.scm (enchant-1.6)[arguments]: Use G-expression.
<#:configure-flags>: Add CFLAGS to relax gcc-14's strictness.
Change-Id: If99906fdd8aad1629f2712ec014456dcdd2e62f7
-rw-r--r-- | gnu/packages/enchant.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/enchant.scm b/gnu/packages/enchant.scm index 6892b73ab5..71baae44f5 100644 --- a/gnu/packages/enchant.scm +++ b/gnu/packages/enchant.scm @@ -116,7 +116,14 @@ Ispell-compatible.") (package (inherit enchant) (version "1.6.0") - (arguments '(#:configure-flags '("--disable-static"))) + (arguments + (list #:configure-flags + #~(list + ;; Add CFLAGS to relax gcc-14's strictness. + (string-append + "CFLAGS=-g -O2" + " -Wno-error=incompatible-pointer-types") + "--disable-static"))) (native-inputs (alist-delete "unittest-cpp" (package-native-inputs enchant))) (source (origin |