From 3e86c1081dfd2b5e8ecae69e6fcbfa8a20bee2ea Mon Sep 17 00:00:00 2001 From: Enji Cooper Date: Sun, 8 Nov 2015 08:27:51 +0000 Subject: [PATCH] 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 --- lib/libc/tests/stdio/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/libc/tests/stdio/Makefile b/lib/libc/tests/stdio/Makefile index 080a819855e..7df144b3ed6 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