guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

64/66: gnu: hurd: Pass --build to gnumach-headers when not cross buildin


From: Manolis Fragkiskos Ragkousis
Subject: 64/66: gnu: hurd: Pass --build to gnumach-headers when not cross building.
Date: Thu, 21 May 2015 12:52:12 +0000

phant0mas pushed a commit to branch wip-hurd
in repository guix.

commit 7e4b5eda091b2ba27d825b877cc89e25580c61dd
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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]