Browse Source

gnu: make-bootstrap: Add missing inputs for Canadian cross of '%gcc-static'.

* gnu/packages/make-bootstrap.scm (%gcc-static): Add 'native-inputs'
  field.
gn-latest-20200428
Ludovic Courtès 8 years ago
parent
commit
0ece707470
1 changed files with 15 additions and 1 deletions
  1. +15
    -1
      gnu/packages/make-bootstrap.scm

+ 15
- 1
gnu/packages/make-bootstrap.scm View File

@ -418,7 +418,21 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
((#:make-flags flags)
(if (%current-target-system)
`(cons "LDFLAGS=-static" ,flags)
`(cons "BOOT_LDFLAGS=-static" ,flags)))))))))
`(cons "BOOT_LDFLAGS=-static" ,flags))))))
(native-inputs
(if (%current-target-system)
`(;; When doing a Canadian cross, we need GMP/MPFR/MPC both
;; as target inputs and as native inputs; the latter is
;; needed when building build-time tools ('genconstants',
;; etc.) Failing to do that leads to misdetections of
;; declarations by 'gcc/configure', and eventually to
;; duplicate declarations as reported in
;; <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59217>.
("gmp-native" ,gmp)
("mpfr-native" ,mpfr)
("mpc-native" ,mpc)
,@(package-native-inputs gcc-4.8))
(package-native-inputs gcc-4.8))))))
(define %gcc-stripped
;; The subset of GCC files needed for bootstrap.


Loading…
Cancel
Save