Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libpthread Link t_fpu against libm if the compiler...



details:   https://anonhg.NetBSD.org/src/rev/2fb8efad84ab
branches:  trunk
changeset: 759424:2fb8efad84ab
user:      joerg <joerg%NetBSD.org@localhost>
date:      Wed Dec 08 23:50:14 2010 +0000

description:
Link t_fpu against libm if the compiler doesn't want to inline sin/cos.

diffstat:

 tests/lib/libpthread/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 7c251e4cb878 -r 2fb8efad84ab tests/lib/libpthread/Makefile
--- a/tests/lib/libpthread/Makefile     Wed Dec 08 21:56:42 2010 +0000
+++ b/tests/lib/libpthread/Makefile     Wed Dec 08 23:50:14 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2010/11/30 18:38:54 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2010/12/08 23:50:14 joerg Exp $
 
 NOMAN=         # defined
 
@@ -6,6 +6,7 @@
 
 TESTSDIR=      ${TESTSBASE}/lib/libpthread
 LDADD+=                -lpthread
+LDADD.t_fpu+=  -lm
 
 .include "${.PARSEDIR}/../csu/Makefile.check_stack"
 



Home | Main Index | Thread Index | Old Index