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.
This commit is contained in:
Manolis Ragkousis 2016-06-07 15:01:22 +03:00
parent b09617da04
commit 26a28c8ae8
No known key found for this signature in database
GPG Key ID: 327C1EF38DF54C32
1 changed files with 5 additions and 1 deletions

View File

@ -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")