From: ngie Date: Sun, 8 Nov 2015 08:27:51 +0000 (+0000) Subject: printfloat_test and scanfloat_test need symbols from msun; these are automatically X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=bfeca53302a5bcbfbb6b3a986f94baebb16b0cea;p=people%2Fliuw%2Ffreebsd.git 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 --- 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