iperf3: use -D_GNU_SOURCE to fix build error on musl

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45103
This commit is contained in:
Felix Fietkau 2015-03-29 04:26:57 +00:00
parent b97c3b0249
commit e0f421dcab

View File

@ -30,6 +30,7 @@ define Package/iperf3
URL:=http://sourceforge.net/projects/iperf/ URL:=http://sourceforge.net/projects/iperf/
endef endef
TARGET_CFLAGS += -D_GNU_SOURCE
CONFIGURE_ARGS += --disable-shared CONFIGURE_ARGS += --disable-shared
MAKE_FLAGS += noinst_PROGRAMS= MAKE_FLAGS += noinst_PROGRAMS=