svn commit: r290540 - head/lib/libc/tests/stdio

Garrett Cooper ngie at FreeBSD.org
Sun Nov 8 08:27:52 UTC 2015


Author: ngie
Date: Sun Nov  8 08:27:51 2015
New Revision: 290540
URL: https://svnweb.freebsd.org/changeset/base/290540

Log:
  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

Modified:
  head/lib/libc/tests/stdio/Makefile

Modified: head/lib/libc/tests/stdio/Makefile
==============================================================================
--- head/lib/libc/tests/stdio/Makefile	Sun Nov  8 07:53:31 2015	(r290539)
+++ head/lib/libc/tests/stdio/Makefile	Sun Nov  8 08:27:51 2015	(r290540)
@@ -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>


More information about the svn-src-all mailing list