Fixing judy for gcc 4.8

gtkwave crashes often, without this fix.
http://sourceforge.net/p/judy/mailman/message/31995144/
This commit is contained in:
Lluís Batlle i Rossell 2015-03-09 15:37:14 +01:00
parent a2f4b94dbe
commit a22c19f56a

View File

@ -8,6 +8,12 @@ stdenv.mkDerivation {
sha256 = "1sv3990vsx8hrza1mvq3bhvv9m6ff08y4yz7swn6znszz24l0w6j";
};
# gcc 4.8 optimisations break judy.
# http://sourceforge.net/p/judy/mailman/message/31995144/
preConfigure = ''
configureFlagsArray+=("CFLAGS=-fno-strict-aliasing -fno-aggressive-loop-optimizations")
'';
meta = {
homepage = http://judy.sourceforge.net/;
license = stdenv.lib.licenses.lgpl21Plus;