gcc8: make building w/LTO support optional, fixes eval

This commit is contained in:
Frederik Rietdijk 2019-11-03 15:35:19 +01:00 committed by Frederik Rietdijk
parent eee1e3c1b6
commit 458964dea2
1 changed files with 2 additions and 1 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
@ -247,7 +248,7 @@ stdenv.mkDerivation ({
# Basic configuration
[
"--enable-lto"
(if enableLTO then "--enable-lto" else "--disable-lto")
"--disable-libstdcxx-pch"
"--without-included-gettext"
"--with-system-zlib"