curl: Enable cross-compilation

By fixing toolchain paths
This commit is contained in:
Ben Gamari 2017-10-27 23:17:55 -04:00 committed by John Ericson
parent 6971c503af
commit d23f71deaa

View File

@ -76,8 +76,8 @@ stdenv.mkDerivation rec {
++ stdenv.lib.optional c-aresSupport "--enable-ares=${c-ares}"
++ stdenv.lib.optional gssSupport "--with-gssapi=${kerberos.dev}";
CXX = "c++";
CXXCPP = "c++ -E";
CXX = "${stdenv.cc.targetPrefix}c++";
CXXCPP = "${stdenv.cc.targetPrefix}c++ -E";
doCheck = false; # expensive, fails