mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
pciutils: enable cross compilation
This commit is contained in:
parent
e2a54266c4
commit
259b9ff6b0
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ zlib kmod which ];
|
||||
|
||||
makeFlags = "SHARED=yes PREFIX=\${out}";
|
||||
makeFlags = [ "SHARED=yes" "PREFIX=\${out}" "STRIP=" "HOST=${stdenv.hostPlatform.system}" "CROSS_COMPILE=${stdenv.cc.targetPrefix}" ];
|
||||
|
||||
installTargets = "install install-lib";
|
||||
|
||||
|
|
Loading…
Reference in a new issue