From: Felix Fietkau Date: Sun, 29 Mar 2015 04:26:57 +0000 (+0000) Subject: iperf3: use -D_GNU_SOURCE to fix build error on musl X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e0f421dcab1125bee0ea0798d78f7105632c020f;p=openwrt%2Fstaging%2Fadrian.git iperf3: use -D_GNU_SOURCE to fix build error on musl Signed-off-by: Felix Fietkau SVN-Revision: 45103 --- 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=