phant0mas pushed a commit to branch wip-hurd
in repository guix.
commit beb958b3c5ac46b875d161381cde4a224e184e03
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 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")