guix-commits
[Top][All Lists]
Advanced

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

06/20: gnu: hurd: Pass --build to hurd-headers when not cross building.


From: Manolis Fragkiskos Ragkousis
Subject: 06/20: gnu: hurd: Pass --build to hurd-headers when not cross building.
Date: Thu, 11 Feb 2016 13:36:14 +0000

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

commit beb958b3c5ac46b875d161381cde4a224e184e03
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 aa50c23..30eaa3c 100644
--- a/gnu/packages/hurd.scm
+++ b/gnu/packages/hurd.scm
@@ -123,7 +123,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]