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://207.154.207.93/?a=commitdiff_plain;h=522de0a73a56cd142880a15074c9a374d799b655;p=15.05%2Fopenwrt.git iperf3: use -D_GNU_SOURCE to fix build error on musl Signed-off-by: Felix Fietkau git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45103 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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=