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
+1 -1
View File
@@ -30,7 +30,7 @@ stdenv.mkDerivation rec {
${if linkStatic then "--enable-static --disable-shared" else ""}
'';
dontDisableStatic = if linkStatic then true else false;
dontDisableStatic = linkStatic;
CFLAGS = if stdenv ? isDietLibC then "-DHAVE_INET_NTOA_R_2_ARGS=1" else "";
LDFLAGS = if linkStatic then "-static" else "";