Browse Source

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

* gnu/packages/make-bootstrap.scm (%binutils-static): Inherit configure
  flags from BINUTILS.
gn-latest-20200428
Ludovic Courtès 8 years ago
parent
commit
5708485357
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      gnu/packages/make-bootstrap.scm

+ 5
- 1
gnu/packages/make-bootstrap.scm 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


Loading…
Cancel
Save