From 98206cb9c62a86f3e72b74a71e9ed836bac1fc71 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Mon, 29 Aug 2016 15:09:50 +0200 Subject: [PATCH] iperf: add -lm to fix build with newer glibc Signed-off-by: Felix Fietkau --- package/network/utils/iperf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/network/utils/iperf/Makefile b/package/network/utils/iperf/Makefile index 2bd19173c08..c47830c5cd7 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 -- 2.30.2