From: jsg Date: Fri, 13 Jul 2018 15:02:40 +0000 (+0000) Subject: explicitly link libm for sqrt()/fmax() calls added in bgpctl.c rev 1.204 X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ed41ec20d845fbdd7133b9843223b73b1e3d9e1b;p=openbsd explicitly link libm for sqrt()/fmax() calls added in bgpctl.c rev 1.204 --- 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