Browse Source

gnu: make-bootstrap: Simplify '%gcc-static'.

* gnu/packages/make-bootstrap.scm (%gcc-static): Add a bunch of
  --disable configure flags.  Remove useless 'inputs' field.
gn-latest-20200428
Ludovic Courtès 8 years ago
parent
commit
953ab5030f
  1. 10
      gnu/packages/make-bootstrap.scm

10
gnu/packages/make-bootstrap.scm

@ -406,6 +406,9 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
"--disable-plugin"
"--enable-languages=c"
"--disable-libmudflap"
"--disable-libatomic"
"--disable-libsanitizer"
"--disable-libitm"
"--disable-libgomp"
"--disable-libssp"
"--disable-libquadmath"
@ -415,12 +418,7 @@ 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))))))
(inputs `(("gmp-source" ,(package-source gmp))
("mpfr-source" ,(package-source mpfr))
("mpc-source" ,(package-source mpc))
("binutils" ,binutils)
,@(package-inputs gcc-4.8))))))
`(cons "BOOT_LDFLAGS=-static" ,flags)))))))))
(define %gcc-stripped
;; The subset of GCC files needed for bootstrap.

Loading…
Cancel
Save