guix-commits
[Top][All Lists]
Advanced

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

65/66: gnu: hurd: Pass --build to hurd-headers when not cross building.


From: Manolis Fragkiskos Ragkousis
Subject: 65/66: gnu: hurd: Pass --build to hurd-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 25d8439df6be3e2fa49b11ab1b3d85d57e5939d4
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]