summaryrefslogtreecommitdiffstats
path: root/lib/libc/tests
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2015-11-08 08:27:51 +0000
committerngie <ngie@FreeBSD.org>2015-11-08 08:27:51 +0000
commitbfeca53302a5bcbfbb6b3a986f94baebb16b0cea (patch)
treee54538a5d34831d8d94ea79e07f0bf6ceb419150 /lib/libc/tests
parenta91204eb04fd6b5f6c69e2f962a8283e356481b0 (diff)
downloadFreeBSD-src-bfeca53302a5bcbfbb6b3a986f94baebb16b0cea.zip
FreeBSD-src-bfeca53302a5bcbfbb6b3a986f94baebb16b0cea.tar.gz
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
Diffstat (limited to 'lib/libc/tests')
-rw-r--r--lib/libc/tests/stdio/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/libc/tests/stdio/Makefile b/lib/libc/tests/stdio/Makefile
index 080a819..7df144b 100644
--- a/lib/libc/tests/stdio/Makefile
+++ b/lib/libc/tests/stdio/Makefile
@@ -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>
OpenPOWER on IntegriCloud