Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2014 14:53:50 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r274851 - head/usr.bin/dpv
Message-ID:  <201411221453.sAMEroJP011185@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sat Nov 22 14:53:50 2014
New Revision: 274851
URL: https://svnweb.freebsd.org/changeset/base/274851

Log:
  Add libm to eliminate "undefined reference to sqrt" on arm 'softfp' builds.

Modified:
  head/usr.bin/dpv/Makefile

Modified: head/usr.bin/dpv/Makefile
==============================================================================
--- head/usr.bin/dpv/Makefile	Sat Nov 22 13:06:47 2014	(r274850)
+++ head/usr.bin/dpv/Makefile	Sat Nov 22 14:53:50 2014	(r274851)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201411221453.sAMEroJP011185>