From 4835813cb6718359e16e4ffcfeb538102b60823b Mon Sep 17 00:00:00 2001 From: Eric Seidel Date: Sat, 14 Mar 2015 09:08:15 -0700 Subject: [PATCH] judy: clang doesnt know -fno-aggressive-loop-optimizations --- pkgs/development/libraries/judy/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/libraries/judy/default.nix b/pkgs/development/libraries/judy/default.nix index 4bca61d5b14b..13b50286380f 100644 --- a/pkgs/development/libraries/judy/default.nix +++ b/pkgs/development/libraries/judy/default.nix @@ -10,7 +10,7 @@ stdenv.mkDerivation { # gcc 4.8 optimisations break judy. # http://sourceforge.net/p/judy/mailman/message/31995144/ - preConfigure = '' + preConfigure = stdenv.lib.optionalString (stdenv.cc.cc.isGNU or false) '' configureFlagsArray+=("CFLAGS=-fno-strict-aliasing -fno-aggressive-loop-optimizations") '';