aboutsummaryrefslogtreecommitdiffstats
path: root/package
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
commite0f421dcab1125bee0ea0798d78f7105632c020f (patch)
tree4f91233b74db47fbd981063ea7b6bea7e71cc463 /package
parentb97c3b0249d90d99e610db7588cc89aa3e92a770 (diff)
downloadupstream-e0f421dcab1125bee0ea0798d78f7105632c020f.tar.gz
upstream-e0f421dcab1125bee0ea0798d78f7105632c020f.tar.bz2
upstream-e0f421dcab1125bee0ea0798d78f7105632c020f.zip
iperf3: use -D_GNU_SOURCE to fix build error on musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45103
Diffstat (limited to 'package')
-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=