aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/tests/stdio/Makefile
diff options
context:
space:
mode:
authorEnji Cooper <ngie@FreeBSD.org>2015-11-08 08:27:51 +0000
committerEnji Cooper <ngie@FreeBSD.org>2015-11-08 08:27:51 +0000
commit3e86c1081dfd2b5e8ecae69e6fcbfa8a20bee2ea (patch)
treee54538a5d34831d8d94ea79e07f0bf6ceb419150 /lib/libc/tests/stdio/Makefile
parent347267dcf85acdae941b776400c19195a5d6e15d (diff)
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
Notes
Notes: svn path=/head/; revision=290540
Diffstat (limited to 'lib/libc/tests/stdio/Makefile')
-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 080a819855ed..7df144b3ed6e 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>