iperf: add -lm to fix build with newer glibc
authorFelix Fietkau <nbd@nbd.name>
Mon, 29 Aug 2016 13:09:50 +0000 (15:09 +0200)
committerFelix Fietkau <nbd@nbd.name>
Tue, 30 Aug 2016 08:51:21 +0000 (10:51 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/network/utils/iperf/Makefile

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