printfloat_test and scanfloat_test need symbols from msun; these are automatically

provided on amd64, but not i386. Add libm to DPADD/LDADD to unbreak the i386
tinderbox

Pointyhat to: ngie
MFC after: 1 week
X-MFC with: r290538
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
Enji Cooper 2015-11-08 08:27:51 +00:00
parent 347267dcf8
commit 3e86c1081d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=290540

View File

@ -26,6 +26,12 @@ NETBSD_ATF_TESTS_C+= popen_test
NETBSD_ATF_TESTS_C+= printf_test
NETBSD_ATF_TESTS_C+= scanf_test
DPADD.printfloat_test+= ${LIBM}
LDADD.printfloat_test+= -lm
DPADD.scanfloat_test+= ${LIBM}
LDADD.scanfloat_test+= -lm
.include "../Makefile.netbsd-tests"
.include <bsd.test.mk>