gnu: make-bootstrap: Build %gcc-static with --disable-lto.

* gnu/packages/make-bootstrap.scm (%gcc-static): Pass --disable-lto.
This commit is contained in:
Ludovic Courtès 2014-06-14 15:34:56 +02:00
parent 97b465feb1
commit c4873bc4f5
1 changed files with 3 additions and 0 deletions

View File

@ -415,6 +415,9 @@ for `sh' in $PATH, and without nscd, and with static NSS modules."
;; GCC 4.8+ requires a C++ compiler and library. ;; GCC 4.8+ requires a C++ compiler and library.
"--enable-languages=c,c++" "--enable-languages=c,c++"
;; Make sure gcc-nm doesn't require liblto_plugin.so.
"--disable-lto"
"--disable-shared" "--disable-shared"
"--disable-plugin" "--disable-plugin"
"--disable-libmudflap" "--disable-libmudflap"