aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-06-14 15:34:56 +0200
committerLudovic Courtès <ludo@gnu.org>2014-06-14 15:34:56 +0200
commitc4873bc4f5354fe4d51750834e56944720422541 (patch)
treecf68d7549b12d31489b42d12a402759030e305e3
parent97b465feb1e4742a8a85fd9b835d32b7acfe8b41 (diff)
downloadguix-c4873bc4f5354fe4d51750834e56944720422541.tar
guix-c4873bc4f5354fe4d51750834e56944720422541.tar.gz
gnu: make-bootstrap: Build %gcc-static with --disable-lto.
* gnu/packages/make-bootstrap.scm (%gcc-static): Pass --disable-lto.
-rw-r--r--gnu/packages/make-bootstrap.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/packages/make-bootstrap.scm b/gnu/packages/make-bootstrap.scm
index e50d56ed92..a9b8457234 100644
--- a/gnu/packages/make-bootstrap.scm
+++ b/gnu/packages/make-bootstrap.scm
@@ -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.
"--enable-languages=c,c++"
+ ;; Make sure gcc-nm doesn't require liblto_plugin.so.
+ "--disable-lto"
+
"--disable-shared"
"--disable-plugin"
"--disable-libmudflap"