]> xenbits.xensource.com Git - people/liuw/freebsd.git/commitdiff
printfloat_test and scanfloat_test need symbols from msun; these are automatically
authorngie <ngie@FreeBSD.org>
Sun, 8 Nov 2015 08:27:51 +0000 (08:27 +0000)
committerngie <ngie@FreeBSD.org>
Sun, 8 Nov 2015 08:27:51 +0000 (08:27 +0000)
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

lib/libc/tests/stdio/Makefile

index 080a819855edac31b836c969305bf0b40c17cda6..7df144b3ed6e37130f6fa1167985ca957035d6b5 100644 (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>