Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Nov 2015 08:27:51 +0000 (UTC)
From:      Garrett Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r290540 - head/lib/libc/tests/stdio
Message-ID:  <201511080827.tA88RpCp081964@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201511080827.tA88RpCp081964>