guix-commits
[Top][All Lists]
Advanced

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

02/05: gnu: hurd: Pass --build to hurd-headers when not cross building.


From: Manolis Fragkiskos Ragkousis
Subject: 02/05: gnu: hurd: Pass --build to hurd-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 85ce5b7055ab291c48b8ae5839f90a89751a890d
Author: Manolis Ragkousis <address@hidden>
Date:   Tue May 12 21:05:12 2015 +0300

    gnu: hurd: Pass --build to hurd-headers when not cross building.
    
    * gnu/packages/hurd.scm (hurd-headers)[arguments]: Pass
      #:configure-flags only when cross-compiling.
---
 gnu/packages/hurd.scm |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/hurd.scm b/gnu/packages/hurd.scm
index 40cbfe3..1502761 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -121,7 +121,9 @@ communication.")
 
        #:configure-flags '(;; Pretend we're on GNU/Hurd; 'configure' wants
                            ;; that.
-                           "--build=i686-pc-gnu"
+                           ,@(if (%current-target-system)
+                                 '()
+                                 '("--build=i686-pc-gnu"))
 
                            ;; Reduce set of dependencies.
                            "--without-parted")



reply via email to

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