From 9782c4529249c8300501202112c095a6589845d3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 11 Dec 2022 22:35:06 +0200 Subject: gnu: coreutils-boot0: Fix building on arm architectures. * gnu/packages/commencement.scm (coreutils-boot0)[arguments]: When building for arm architectures skip building some programs. --- gnu/packages/commencement.scm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index b54c21b258..1362cd99ca 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -1969,6 +1969,15 @@ (define coreutils-boot0 (arguments `(#:tests? #f #:implicit-inputs? #f + ,@(if (target-arm?) + ;; Some binaries fail to build. + `(#:configure-flags '(,(string-append + "--enable-no-install-program=" + ;; the defaults + "arch,coreutils,hostname" + ;; fails on aarch64 + ",timeout,sort"))) + '()) #:guile ,%bootstrap-guile ,@(package-arguments coreutils))))) -- cgit v1.2.3