gnu: findutils: Fix cross-compilation.

* gnu/packages/base.scm (findutils): Reinstate cross-compilation
  #:configure-flags.
This commit is contained in:
Ludovic Courtès 2013-05-25 16:36:11 +02:00
parent c8c6bba5a7
commit cf9fd501ea

View file

@ -236,13 +236,13 @@ (define-public findutils
`(("patch/absolute-paths"
,(search-patch "findutils-absolute-paths.patch"))))
(arguments
`(#:patches (list (assoc-ref %build-inputs "patch/absolute-paths")))
`(#:patches (list (assoc-ref %build-inputs "patch/absolute-paths"))
;; TODO: Work around cross-compilation failure.
;; Work around cross-compilation failure.
;; See <http://savannah.gnu.org/bugs/?27299#comment1>.
;; `(#:configure-flags '("gl_cv_func_wcwidth_works=yes")
;; ,@(arguments cross-system))
)
,@(if (%current-target-system)
'(#:configure-flags '("gl_cv_func_wcwidth_works=yes"))
'())))
(synopsis "Operating on files matching given criteria")
(description
"The GNU Find Utilities are the basic directory searching utilities of