fix: use iperf3 static-bin configure mode
iperf3 static musl build / build-and-release (push) Failing after 19s

This commit is contained in:
Hermes Agent
2026-05-07 23:14:22 +00:00
parent 87cc2d27b0
commit 399dd8e7f3
+3 -2
View File
@@ -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)"