Clean up redundant "if condition then true else false"

This commit is contained in:
Eelco Dolstra
2012-12-28 19:57:47 +01:00
parent 84779a6f7d
commit 88b11196c1
7 changed files with 11 additions and 11 deletions

View File

@@ -129,7 +129,7 @@ stdenv.mkDerivation ({
enableMultilib; };
# ghdl does not build fine with parallel building
enableParallelBuilding = if langVhdl then false else true;
enableParallelBuilding = !langVhdl;
meta = {
homepage = "http://gcc.gnu.org/";

View File

@@ -243,7 +243,7 @@ stdenv.mkDerivation ({
enableMultilib version; };
# ghdl does not build fine with parallel building
enableParallelBuilding = if langVhdl then false else true;
enableParallelBuilding = !langVhdl;
meta = {
homepage = http://gcc.gnu.org/;