From 6648cf63250746a8985bdfe50f77bde6359241e5 Mon Sep 17 00:00:00 2001 From: Manolis Ragkousis Date: Tue, 7 Jun 2016 21:26:22 +0300 Subject: [PATCH] gnu: hurd-headers: Use "--host=i586-pc-gnu" only when not cross-building. * gnu/packages/hurd.scm (hurd-headers)[arguments]: Use "--host=i586-pc-gnu" only when not cross-building. --- gnu/packages/hurd.scm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm index fc47ee9d97..d48facb004 100644 --- a/gnu/packages/hurd.scm +++ b/gnu/packages/hurd.scm @@ -126,7 +126,9 @@ (define-public hurd-headers #:configure-flags '(;; Pretend we're on GNU/Hurd; 'configure' wants ;; that. - "--build=i686-pc-gnu" + ,@(if (%current-target-system) + '() + '("--host=i586-pc-gnu")) ;; Reduce set of dependencies. "--without-parted")