guix-commits
[Top][All Lists]
Advanced

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

05/19: gnu: hurd: Pass --build to gnumach-headers when not cross buildin


From: Manolis Fragkiskos Ragkousis
Subject: 05/19: gnu: hurd: Pass --build to gnumach-headers when not cross building.
Date: Mon, 28 Dec 2015 19:17:02 +0000

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

commit aec146c05b27ff9ec6459e1c9b9a335202990eb1
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 ff29aee..aa50c23 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]