From d5619de9d39de025d1e4a856659953975cde581e Mon Sep 17 00:00:00 2001 From: Zheng Junjie Date: Thu, 24 Jul 2025 19:31:14 +0800 Subject: [PATCH] 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 --- gnu/packages/enchant.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/enchant.scm b/gnu/packages/enchant.scm index 71baae44f55..71f45bc57d3 100644 --- a/gnu/packages/enchant.scm +++ b/gnu/packages/enchant.scm @@ -3,6 +3,7 @@ ;;; Copyright © 2018 Marius Bakke ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2020 Julien Lepiller +;;; Copyright © 2025 Zheng Junjie ;;; ;;; 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