iperf: add -lm to fix build with newer glibc

Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
Felix Fietkau 2016-08-29 15:09:50 +02:00
parent b0dcb6bfed
commit 98206cb9c6

View file

@ -41,7 +41,7 @@ TARGET_CFLAGS += -D_GNU_SOURCE
CONFIGURE_ARGS += --disable-multicast CONFIGURE_ARGS += --disable-multicast
CONFIGURE_VARS += CXXFLAGS="$$$$CXXFLAGS -fno-rtti" CONFIGURE_VARS += CXXFLAGS="$$$$CXXFLAGS -fno-rtti"
CONFIGURE_VARS += LIBS="-lpthread" CONFIGURE_VARS += LIBS="-lpthread -lm"
define Package/iperf/install define Package/iperf/install
$(INSTALL_DIR) $(1)/usr/bin $(INSTALL_DIR) $(1)/usr/bin