gnu: make-bootstrap: Simplify '%gcc-static'.
* gnu/packages/make-bootstrap.scm (%gcc-static): Add a bunch of --disable configure flags. Remove useless 'inputs' field.
This commit is contained in:
parent
f392980041
commit
953ab5030f
|
@ -406,6 +406,9 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
|
||||||
"--disable-plugin"
|
"--disable-plugin"
|
||||||
"--enable-languages=c"
|
"--enable-languages=c"
|
||||||
"--disable-libmudflap"
|
"--disable-libmudflap"
|
||||||
|
"--disable-libatomic"
|
||||||
|
"--disable-libsanitizer"
|
||||||
|
"--disable-libitm"
|
||||||
"--disable-libgomp"
|
"--disable-libgomp"
|
||||||
"--disable-libssp"
|
"--disable-libssp"
|
||||||
"--disable-libquadmath"
|
"--disable-libquadmath"
|
||||||
|
@ -415,12 +418,7 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
|
||||||
((#:make-flags flags)
|
((#:make-flags flags)
|
||||||
(if (%current-target-system)
|
(if (%current-target-system)
|
||||||
`(cons "LDFLAGS=-static" ,flags)
|
`(cons "LDFLAGS=-static" ,flags)
|
||||||
`(cons "BOOT_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))))))
|
|
||||||
|
|
||||||
(define %gcc-stripped
|
(define %gcc-stripped
|
||||||
;; The subset of GCC files needed for bootstrap.
|
;; The subset of GCC files needed for bootstrap.
|
||||||
|
|
Loading…
Reference in New Issue