iperf3: use -D_GNU_SOURCE to fix build error on musl
authorFelix Fietkau <nbd@openwrt.org>
Sun, 29 Mar 2015 04:26:57 +0000 (04:26 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 29 Mar 2015 04:26:57 +0000 (04:26 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 45103

package/network/utils/iperf3/Makefile

index 3d9c84ae25b69c2927a09450a1b96b13711117ec..f36b381dacc768d6c0849391a7dafd3993d89525 100644 (file)
@@ -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=