aboutsummaryrefslogtreecommitdiffstats
path: root/package/network/utils/iperf3/Makefile
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2015-03-29 04:26:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2015-03-29 04:26:57 +0000
commit522de0a73a56cd142880a15074c9a374d799b655 (patch)
tree24371bbcd61bd3f797cb7f41b6816a1be272af1e /package/network/utils/iperf3/Makefile
parent7dae4a2150985987bbc435c671ff2386f8d0c1a8 (diff)
downloadupstream-522de0a73a56cd142880a15074c9a374d799b655.tar.gz
upstream-522de0a73a56cd142880a15074c9a374d799b655.tar.bz2
upstream-522de0a73a56cd142880a15074c9a374d799b655.zip
iperf3: use -D_GNU_SOURCE to fix build error on musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45103 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/network/utils/iperf3/Makefile')
-rw-r--r--package/network/utils/iperf3/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/network/utils/iperf3/Makefile b/package/network/utils/iperf3/Makefile
index 3d9c84ae25..f36b381dac 100644
--- a/package/network/utils/iperf3/Makefile
+++ b/package/network/utils/iperf3/Makefile
@@ -30,6 +30,7 @@ define Package/iperf3
URL:=http://sourceforge.net/projects/iperf/
endef
+TARGET_CFLAGS += -D_GNU_SOURCE
CONFIGURE_ARGS += --disable-shared
MAKE_FLAGS += noinst_PROGRAMS=