ipopt: fix build after minor gcc update (close #5519)

The configure script only checks for a specific version to enable a fix in
finding cstdlib and cstring.
This commit is contained in:
Raffael Mancini 2014-12-31 18:31:42 +01:00 committed by Peter Simons
parent 0c8bbaa11c
commit 7aef1f02aa

View File

@ -9,6 +9,10 @@ stdenv.mkDerivation rec {
sha256 = "0sji4spl5dhw1s3f9y0ym09gi7d1c8wldn6wbiap4q8dq7cvklq5"; sha256 = "0sji4spl5dhw1s3f9y0ym09gi7d1c8wldn6wbiap4q8dq7cvklq5";
}; };
preConfigure = ''
export CXXDEFS="-DHAVE_RAND -DHAVE_CSTRING -DHAVE_CSTDIO"
'';
nativeBuildInputs = [ unzip ]; nativeBuildInputs = [ unzip ];
buildInputs = [ gfortran blas liblapack ]; buildInputs = [ gfortran blas liblapack ];