_7zz: cross-compilation fixes
This commit is contained in:
parent
ce602086b5
commit
b2d35019c0
1 changed files with 4 additions and 0 deletions
|
@ -50,6 +50,10 @@ stdenv.mkDerivation rec {
|
||||||
sourceRoot = "CPP/7zip/Bundles/Alone2";
|
sourceRoot = "CPP/7zip/Bundles/Alone2";
|
||||||
|
|
||||||
makeFlags =
|
makeFlags =
|
||||||
|
[
|
||||||
|
"CC=${stdenv.cc.targetPrefix}cc"
|
||||||
|
"CXX=${stdenv.cc.targetPrefix}c++"
|
||||||
|
] ++
|
||||||
lib.optionals useUasm [ "MY_ASM=uasm" ] ++
|
lib.optionals useUasm [ "MY_ASM=uasm" ] ++
|
||||||
# it's the compression code with the restriction, see DOC/License.txt
|
# it's the compression code with the restriction, see DOC/License.txt
|
||||||
lib.optionals (!enableUnfree) [ "DISABLE_RAR_COMPRESS=true" ];
|
lib.optionals (!enableUnfree) [ "DISABLE_RAR_COMPRESS=true" ];
|
||||||
|
|
Loading…
Reference in a new issue