No need for this hack anymore

This commit is contained in:
Dan Peebles 2015-02-18 22:18:47 -05:00
parent 524e815af1
commit e25150bb10

View File

@ -12,15 +12,11 @@ stdenv.mkDerivation rec {
sha256 = "1fs5p1z67m9f4xnyil3s4lhgyld78f7m4d1yawpyhh0cvrbk90zg"; sha256 = "1fs5p1z67m9f4xnyil3s4lhgyld78f7m4d1yawpyhh0cvrbk90zg";
}; };
# The compiler on Darwin crashes with an internal error while building the
# C++ interface. Disabling optimizations on that platform remedies the
# problem. In case we ever update the Darwin GCC version, the exception for
# that platform ought to be removed.
configureFlags = '' configureFlags = ''
--enable-jit --enable-jit
${if unicodeSupport then "--enable-unicode-properties" else ""} ${if unicodeSupport then "--enable-unicode-properties" else ""}
${if !cplusplusSupport then "--disable-cpp" else ""} ${if !cplusplusSupport then "--disable-cpp" else ""}
'' + optionalString stdenv.isDarwin "CXXFLAGS=-O0"; '';
doCheck = with stdenv; !(isCygwin || isFreeBSD); doCheck = with stdenv; !(isCygwin || isFreeBSD);
# XXX: test failure on Cygwin # XXX: test failure on Cygwin