aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManolis Ragkousis <manolis837@gmail.com>2016-06-07 21:26:22 +0300
committerManolis Ragkousis <manolis837@gmail.com>2016-06-07 21:32:10 +0300
commit6648cf63250746a8985bdfe50f77bde6359241e5 (patch)
tree285d063f32437154f81894bc6cc80fdd05207307
parent26a28c8ae882a6a8e8f295028cec8839a0a0d74c (diff)
downloadpatches-6648cf63250746a8985bdfe50f77bde6359241e5.tar
patches-6648cf63250746a8985bdfe50f77bde6359241e5.tar.gz
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.
-rw-r--r--gnu/packages/hurd.scm4
1 files changed, 3 insertions, 1 deletions
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 @@ communication.")
#: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")