aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorManolis Ragkousis <manolis837@gmail.com>2016-06-07 15:01:22 +0300
committerManolis Ragkousis <manolis837@gmail.com>2016-06-07 19:20:54 +0300
commit26a28c8ae882a6a8e8f295028cec8839a0a0d74c (patch)
treec553b79e604b0a130f5c3913d4c9007fe5dc2b50 /gnu
parentb09617da042ea6adc819df7a2ee04011133f696b (diff)
downloadguix-26a28c8ae882a6a8e8f295028cec8839a0a0d74c.tar
guix-26a28c8ae882a6a8e8f295028cec8839a0a0d74c.tar.gz
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.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/hurd.scm6
1 files changed, 5 insertions, 1 deletions
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 <http://lists.gnu.org/archive/html/bug-hurd/2015-06/msg00042.html>
+ ;; <http://lists.gnu.org/archive/html/guix-devel/2015-06/msg00716.html>
+ '(#:configure-flags '("--build=i586-pc-gnu")))
#:tests? #f))
(home-page "https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html")