diff options
author | Manolis Ragkousis <manolis837@gmail.com> | 2016-06-07 21:26:22 +0300 |
---|---|---|
committer | Manolis Ragkousis <manolis837@gmail.com> | 2016-06-07 21:32:10 +0300 |
commit | 6648cf63250746a8985bdfe50f77bde6359241e5 (patch) | |
tree | 285d063f32437154f81894bc6cc80fdd05207307 /gnu/packages | |
parent | 26a28c8ae882a6a8e8f295028cec8839a0a0d74c (diff) | |
download | guix-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.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/hurd.scm | 4 |
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") |