diff options
author | Zheng Junjie <z572@z572.online> | 2025-07-24 19:31:14 +0800 |
---|---|---|
committer | Zheng Junjie <z572@z572.online> | 2025-07-24 19:31:40 +0800 |
commit | d5619de9d39de025d1e4a856659953975cde581e (patch) | |
tree | d4888dc5989fff48235b49f251f218e63b2ee9c6 | |
parent | e52438acb95682a10e18820256f1a9b0966c5315 (diff) |
gnu: nuspell: Fix cross-compiling.
* gnu/packages/enchant.scm (nuspell): Fix cross-compiling.
[arguments]: When cross-compiling,Add -DBUILD_TESTING=OFF to configure-flags.
Change-Id: I5af75bed0d5eabfaf2ecb2efd2cf84d7bf39ae9b
-rw-r--r-- | gnu/packages/enchant.scm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/enchant.scm b/gnu/packages/enchant.scm index 71baae44f5..71f45bc57d 100644 --- a/gnu/packages/enchant.scm +++ b/gnu/packages/enchant.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2018 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2020 Julien Lepiller <julien@lepiller.eu> +;;; Copyright © 2025 Zheng Junjie <z572@z572.online> ;;; ;;; This file is part of GNU Guix. ;;; @@ -57,6 +58,10 @@ (sha256 (base32 "05j1hmczy6v9dyxp77vxhgyl7y5hff3v45vlp86gyh7m9lgqpmra")))) (build-system cmake-build-system) + (arguments + (if (%current-target-system) + (list #:configure-flags #~(list "-DBUILD_TESTING=OFF")) + '())) (native-inputs (list catch2-3 pkg-config)) (propagated-inputs (list icu4c)) (native-search-paths (list (search-path-specification |