Merge pull request #136772 from Mindavi/sasquatch/cross
sasquatch: support cross-compilation
This commit is contained in:
commit
d924c2327b
@ -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; {
|
||||
|
Loading…
Reference in New Issue
Block a user