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

wip/yesman
Frederik Rietdijk 5 years ago committed by Frederik Rietdijk
parent eee1e3c1b6
commit 458964dea2
  1. 3
      pkgs/development/compilers/gcc/8/default.nix

@ -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"

Loading…
Cancel
Save