phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit 25d8439df6be3e2fa49b11ab1b3d85d57e5939d4
Author: Manolis Ragkousis <[email protected]>
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")