diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-06-26 17:23:56 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-06-26 17:23:56 +0200 |
commit | 5708485357ef0e55f5148347958c4fe9a860453e (patch) | |
tree | 4bb8599e66f30bd392190c2cb6379a24dc82f8b6 /gnu/packages | |
parent | 11acdf1747a18fe11ccbabb78b5b14884164ee39 (diff) | |
download | guix-5708485357ef0e55f5148347958c4fe9a860453e.tar.gz |
gnu: make-bootstrap: Fix cross compilation of binutils-static.
* gnu/packages/make-bootstrap.scm (%binutils-static): Inherit configure flags from BINUTILS.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/make-bootstrap.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm index 853dc8e59d..f4d29bdf96 100644 --- a/gnu/packages/make-bootstrap.scm +++ b/gnu/packages/make-bootstrap.scm @@ -260,7 +260,11 @@ for `sh' in $PATH, and without nscd, and with static NSS modules." (package (inherit binutils) (name "binutils-static") (arguments - `(#:configure-flags '("--disable-gold" "--with-lib-path=/no-ld-lib-path") + `(#:configure-flags (cons "--disable-gold" + ,(match (memq #:configure-flags + (package-arguments binutils)) + ((#:configure-flags flags _ ...) + flags))) #:strip-flags '("--strip-all") #:phases (alist-cons-before 'configure 'all-static |