Merge pull request #136772 from Mindavi/sasquatch/cross

sasquatch: support cross-compilation
This commit is contained in:
Jörg Thalheim 2021-09-05 16:24:31 +01:00 committed by GitHub
commit d924c2327b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,7 +48,12 @@ stdenv.mkDerivation rec {
installFlags = [ "INSTALL_DIR=\${out}/bin" ];
makeFlags = [ "XZ_SUPPORT=1" ]
makeFlags = [
"XZ_SUPPORT=1"
"CC=${stdenv.cc.targetPrefix}cc"
"CXX=${stdenv.cc.targetPrefix}c++"
"AR=${stdenv.cc.targetPrefix}ar"
]
++ lib.optional lz4Support "LZ4_SUPPORT=1";
meta = with lib; {