Sfoglia il codice sorgente

iperf3: use -D_GNU_SOURCE to fix build error on musl

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 45103
Felix Fietkau 11 anni fa
parent
commit
e0f421dcab
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      package/network/utils/iperf3/Makefile

+ 1 - 0
package/network/utils/iperf3/Makefile

@@ -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=