1
0
Fork 1
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:
Ben Wolsieffer 2018-01-21 01:03:36 -05:00
parent e2a54266c4
commit 259b9ff6b0

View file

@ -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";