darwin purity: gmp-4.3.2

This commit is contained in:
Jude Taylor 2015-06-18 17:54:12 -07:00
parent 9fd1920d8f
commit 10d06f4252

View File

@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
then "ln -sf configfsf.guess config.guess"
else ''echo "Darwin host is `./config.guess`."'';
configureFlags = if cxx then "--enable-cxx" else "--disable-cxx";
configureFlags = (if cxx then "--enable-cxx" else "--disable-cxx") +
stdenv.lib.optionalString stdenv.isDarwin " ac_cv_build=x86_64-apple-darwin13.4.0 ac_cv_host=x86_64-apple-darwin13.4.0";
# The test t-lucnum_ui fails (on Linux/x86_64) when built with GCC 4.8.
# Newer versions of GMP don't have that issue anymore.