mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
No need for this hack anymore
This commit is contained in:
parent
524e815af1
commit
e25150bb10
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user