From 26a28c8ae882a6a8e8f295028cec8839a0a0d74c Mon Sep 17 00:00:00 2001 From: Manolis Ragkousis Date: Tue, 7 Jun 2016 15:01:22 +0300 Subject: [PATCH] gnu: gnumach-headers: Use "--build=i586-pc-gnu" only when not cross-building. * gnu/packages/hurd.scm (gnumach-headers)[arguments]: Use "--build=i586-pc-gnu" only when not cross-building. --- gnu/packages/hurd.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index 2b2e162107..fc47ee9d97 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -55,7 +55,11 @@ ;; GNU Mach supports only IA32 currently, so cheat so that we can at ;; least install its headers. - #:configure-flags '("--build=i686-pc-gnu") + ,@(if (%current-target-system) + '() + ;; See + ;; + '(#:configure-flags '("--build=i586-pc-gnu"))) #:tests? #f)) (home-page "https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html")