me
/
guix
Archived
1
0
Fork 0

gnu: make-bootstrap: Fix cross compilation of binutils-static.

* gnu/packages/make-bootstrap.scm (%binutils-static): Inherit configure
  flags from BINUTILS.
master
Ludovic Courtès 2013-06-26 17:23:56 +02:00
parent 11acdf1747
commit 5708485357
1 changed files with 5 additions and 1 deletions

View File

@ -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