From 399dd8e7f3186b0265b9ed24ca8067ad3792b03a Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Thu, 7 May 2026 23:14:22 +0000 Subject: [PATCH] fix: use iperf3 static-bin configure mode --- scripts/build_iperf3.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/build_iperf3.sh b/scripts/build_iperf3.sh index b53e942..a60b63d 100755 --- a/scripts/build_iperf3.sh +++ b/scripts/build_iperf3.sh @@ -26,13 +26,14 @@ curl -fsSLO "https://downloads.es.net/pub/iperf/iperf-${VERSION}.tar.gz" tar -xzf "iperf-${VERSION}.tar.gz" cd "iperf-${VERSION}" -export CFLAGS="-O2 -static -fno-pie" +export CFLAGS="-O2 -fno-pie" export CPPFLAGS="" -export LDFLAGS="-static -no-pie" +export LDFLAGS="-no-pie" ./configure \ --disable-shared \ --enable-static \ + --enable-static-bin \ --without-sctp make -j"$(getconf _NPROCESSORS_ONLN || echo 2)"