iperf2: fix cross compilation
This commit is contained in:
parent
c7c950be89
commit
87e87ca7b8
|
@ -12,6 +12,8 @@ stdenv.mkDerivation rec {
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
configureFlags = [ "--enable-fastsampling" ];
|
configureFlags = [ "--enable-fastsampling" ];
|
||||||
|
|
||||||
|
makeFlags = [ "AR:=$(AR)" ];
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv $out/bin/iperf $out/bin/iperf2
|
mv $out/bin/iperf $out/bin/iperf2
|
||||||
ln -s $out/bin/iperf2 $out/bin/iperf
|
ln -s $out/bin/iperf2 $out/bin/iperf
|
||||||
|
|
Loading…
Reference in a new issue