gcc7: make building w/LTO support optional, don't use in bootstrap tools

This commit is contained in:
Will Dietz
2018-03-06 10:15:05 -06:00
committed by Frederik Rietdijk
parent 9920076549
commit 5b46a7c240
2 changed files with 12 additions and 9 deletions

View File

@@ -6,6 +6,7 @@
, profiledCompiler ? false
, staticCompiler ? false
, enableShared ? true
, enableLTO ? true
, texinfo ? null
, perl ? null # optional, for texi2pod (then pod2man)
, gmp, mpfr, libmpc, gettext, which
@@ -257,7 +258,7 @@ stdenv.mkDerivation ({
# Basic configuration
[
"--enable-lto"
(if enableLTO then "--enable-lto" else "--disable-lto")
"--disable-libstdcxx-pch"
"--without-included-gettext"
"--with-system-zlib"