iperf: add -lm to fix build with newer glibc
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
b0dcb6bfed
commit
98206cb9c6
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue