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