pigz: fix cross
This commit is contained in:
parent
90fa183b9c
commit
2b9caf8896
@ -15,7 +15,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [zlib] ++ stdenv.lib.optional stdenv.isLinux utillinux;
|
||||
|
||||
makeFlags = [ "CC=cc" ];
|
||||
makeFlags = [ "CC=${stdenv.cc}/bin/${stdenv.cc.targetPrefix}cc" ];
|
||||
|
||||
doCheck = stdenv.isLinux;
|
||||
checkTarget = "tests";
|
||||
|
Loading…
Reference in New Issue
Block a user