Merge pull request #11071 from rycee/fix/gpsbabel-on-i686

Fix build of gpsbabel on i686
This commit is contained in:
Pascal Wittmann 2015-11-25 12:48:57 +01:00
commit 8d92394b00

View file

@ -20,7 +20,12 @@ stdenv.mkDerivation rec {
But FOP isn't packaged yet. */
preConfigure = "cd gpsbabel";
configureFlags = [ "--with-zlib=system" ];
configureFlags = [ "--with-zlib=system" ]
# Floating point behavior on i686 causes test failures. Preventing
# extended precision fixes this problem.
++ stdenv.lib.optional stdenv.isi686 "CXXFLAGS=-ffloat-store";
enableParallelBuilding = true;
doCheck = true;
preCheck = ''