judy: clang doesnt know -fno-aggressive-loop-optimizations

This commit is contained in:
Eric Seidel 2015-03-14 09:08:15 -07:00
parent d54c94c189
commit 4835813cb6

View File

@ -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")
'';