guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: hurd-headers: Use "--host=i586-pc-gnu" only when not cross-b


From: Manolis Fragkiskos Ragkousis
Subject: 01/01: gnu: hurd-headers: Use "--host=i586-pc-gnu" only when not cross-building.
Date: Tue, 7 Jun 2016 18:38:27 +0000 (UTC)

phant0mas pushed a commit to branch core-updates
in repository guix.

commit 6648cf63250746a8985bdfe50f77bde6359241e5
Author: Manolis Ragkousis <address@hidden>
Date:   Tue Jun 7 21:26:22 2016 +0300

    gnu: hurd-headers: Use "--host=i586-pc-gnu" only when not cross-building.
    
    * gnu/packages/hurd.scm (hurd-headers)[arguments]: Use "--host=i586-pc-gnu"
      only when not cross-building.
---
 gnu/packages/hurd.scm |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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



reply via email to

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