From: Felix Fietkau Date: Mon, 29 Aug 2016 13:09:50 +0000 (+0200) Subject: iperf: add -lm to fix build with newer glibc X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=98206cb9c62a86f3e72b74a71e9ed836bac1fc71;p=openwrt%2Fstaging%2Fansuel.git iperf: add -lm to fix build with newer glibc Signed-off-by: Felix Fietkau --- diff --git a/package/network/utils/iperf/Makefile b/package/network/utils/iperf/Makefile index 2bd19173c0..c47830c5cd 100644 --- a/package/network/utils/iperf/Makefile +++ b/package/network/utils/iperf/Makefile @@ -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