gcc8: make building w/LTO support optional, fixes eval
This commit is contained in:
parent
eee1e3c1b6
commit
458964dea2
|
@ -6,6 +6,7 @@
|
||||||
, profiledCompiler ? false
|
, profiledCompiler ? false
|
||||||
, staticCompiler ? false
|
, staticCompiler ? false
|
||||||
, enableShared ? true
|
, enableShared ? true
|
||||||
|
, enableLTO ? true
|
||||||
, texinfo ? null
|
, texinfo ? null
|
||||||
, perl ? null # optional, for texi2pod (then pod2man)
|
, perl ? null # optional, for texi2pod (then pod2man)
|
||||||
, gmp, mpfr, libmpc, gettext, which
|
, gmp, mpfr, libmpc, gettext, which
|
||||||
|
@ -247,7 +248,7 @@ stdenv.mkDerivation ({
|
||||||
|
|
||||||
# Basic configuration
|
# Basic configuration
|
||||||
[
|
[
|
||||||
"--enable-lto"
|
(if enableLTO then "--enable-lto" else "--disable-lto")
|
||||||
"--disable-libstdcxx-pch"
|
"--disable-libstdcxx-pch"
|
||||||
"--without-included-gettext"
|
"--without-included-gettext"
|
||||||
"--with-system-zlib"
|
"--with-system-zlib"
|
||||||
|
|
Loading…
Reference in New Issue