[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: hurd: Pass --build to gnumach-headers when not cross buildin
From: |
Manolis Fragkiskos Ragkousis |
Subject: |
01/05: gnu: hurd: Pass --build to gnumach-headers when not cross building. |
Date: |
Thu, 21 May 2015 08:50:40 +0000 |
phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit 8a4ca5aac363402e891cdcff7d0e26fa00fe0672
Author: Manolis Ragkousis <address@hidden>
Date: Sun May 10 20:34:33 2015 +0300
gnu: hurd: Pass --build to gnumach-headers when not cross building.
* gnu/packages/hurd.scm (gnumach-headers)[arguments]: Pass
#:configure-flags only when cross-compiling.
---
gnu/packages/hurd.scm | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 393d3c1..40cbfe3 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -27,6 +27,7 @@
#:use-module (gnu packages perl)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
+ #:use-module (gnu packages pkg-config)
#:use-module (guix git-download))
(define-public gnumach-headers
@@ -53,9 +54,10 @@
%standard-phases))
;; GNU Mach supports only IA32 currently, so cheat so that we can at
- ;; least install its headers.
- #:configure-flags '("--build=i686-pc-gnu")
-
+ ;; least install its headers when not cross-compiling.
+ ,@(if (%current-target-system)
+ '()
+ '(#:configure-flags '("--build=i686-pc-gnu")))
#:tests? #f))
(home-page
"https://www.gnu.org/software/hurd/microkernel/mach/gnumach.html")
(synopsis "GNU Mach kernel headers")