sasquatch: support cross-compilation
This commit is contained in:
parent
c32fa3f108
commit
219d3e437e
@ -48,7 +48,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
installFlags = [ "INSTALL_DIR=\${out}/bin" ];
|
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";
|
++ lib.optional lz4Support "LZ4_SUPPORT=1";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
Loading…
Reference in New Issue
Block a user