From dbd3f107025d6a827ea4a52439077822be833b49 Mon Sep 17 00:00:00 2001 From: Ian Lepore Date: Sat, 22 Nov 2014 14:53:50 +0000 Subject: [PATCH] Add libm to eliminate "undefined reference to sqrt" on arm 'softfp' builds. --- usr.bin/dpv/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.bin/dpv/Makefile b/usr.bin/dpv/Makefile index 3cc18cafc468..6f89c0fbb6b2 100644 --- a/usr.bin/dpv/Makefile +++ b/usr.bin/dpv/Makefile @@ -4,8 +4,8 @@ PROG= dpv CFLAGS+= -I${.CURDIR} -DPADD= ${LIBDPV} ${LIBDIALOG} ${LIBFIGPAR} ${LIBNCURSESW} ${LIBUTIL} -LDADD= -ldpv -ldialog -lfigpar -lncursesw -lutil +DPADD= ${LIBDPV} ${LIBDIALOG} ${LIBFIGPAR} ${LIBNCURSESW} ${LIBUTIL} ${LIBM} +LDADD= -ldpv -ldialog -lfigpar -lncursesw -lutil -lm WARNS?= 6