This is an automated email from the git hooks/post-receive script.

guix_mirror_bot pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new d5619de9d3 gnu: nuspell: Fix cross-compiling.
d5619de9d3 is described below

commit d5619de9d39de025d1e4a856659953975cde581e
Author: Zheng Junjie <[email protected]>
AuthorDate: Thu Jul 24 19:31:14 2025 +0800

    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 71baae44f5..71f45bc57d 100644
--- a/gnu/packages/enchant.scm
+++ b/gnu/packages/enchant.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2018 Marius Bakke <[email protected]>
 ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <[email protected]>
 ;;; Copyright © 2020 Julien Lepiller <[email protected]>
+;;; Copyright © 2025 Zheng Junjie <[email protected]>
 ;;;
 ;;; 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

Reply via email to