From ed41ec20d845fbdd7133b9843223b73b1e3d9e1b Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 13 Jul 2018 15:02:40 +0000 Subject: [PATCH] explicitly link libm for sqrt()/fmax() calls added in bgpctl.c rev 1.204 --- usr.sbin/bgpctl/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/usr.sbin/bgpctl/Makefile b/usr.sbin/bgpctl/Makefile index 99bd37665d6..e58551cf86f 100644 --- a/usr.sbin/bgpctl/Makefile +++ b/usr.sbin/bgpctl/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.13 2017/01/23 23:37:21 claudio Exp $ +# $OpenBSD: Makefile,v 1.14 2018/07/13 15:02:40 jsg Exp $ .PATH: ${.CURDIR}/../bgpd @@ -13,7 +13,7 @@ CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual CFLAGS+= -Wsign-compare CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../bgpd MAN= bgpctl.8 -LDADD= -lutil -DPADD+= ${LIBUTIL} +LDADD= -lutil -lm +DPADD+= ${LIBUTIL} ${LIBM} .include -- 2.20.1