fix: use iperf3 static-bin configure mode
iperf3 static musl build / build-and-release (push) Failing after 19s
iperf3 static musl build / build-and-release (push) Failing after 19s
This commit is contained in:
@@ -26,13 +26,14 @@ curl -fsSLO "https://downloads.es.net/pub/iperf/iperf-${VERSION}.tar.gz"
|
|||||||
tar -xzf "iperf-${VERSION}.tar.gz"
|
tar -xzf "iperf-${VERSION}.tar.gz"
|
||||||
cd "iperf-${VERSION}"
|
cd "iperf-${VERSION}"
|
||||||
|
|
||||||
export CFLAGS="-O2 -static -fno-pie"
|
export CFLAGS="-O2 -fno-pie"
|
||||||
export CPPFLAGS=""
|
export CPPFLAGS=""
|
||||||
export LDFLAGS="-static -no-pie"
|
export LDFLAGS="-no-pie"
|
||||||
|
|
||||||
./configure \
|
./configure \
|
||||||
--disable-shared \
|
--disable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
|
--enable-static-bin \
|
||||||
--without-sctp
|
--without-sctp
|
||||||
|
|
||||||
make -j"$(getconf _NPROCESSORS_ONLN || echo 2)"
|
make -j"$(getconf _NPROCESSORS_ONLN || echo 2)"
|
||||||
|
|||||||
Reference in New Issue
Block a user