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 Vladimír Čunát
parent 04d410cc4d
commit 3878472f02

View File

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