diff options
author | Zheng Junjie <z572@z572.online> | 2025-07-12 20:16:24 +0800 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:52 +0200 |
commit | 2a6ba2e69b830c12662cbec6c87128e02e0d4423 (patch) | |
tree | 6495fbe54bca3988b663f0019c8cbe1bcf02eec5 | |
parent | 830fddcf5569260aa54a6e6d197426e654dfed5e (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 |