Module Name:    src
Committed By:   joerg
Date:           Wed Dec  8 23:50:14 UTC 2010

Modified Files:
        src/tests/lib/libpthread: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libpthread/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libpthread/Makefile
diff -u src/tests/lib/libpthread/Makefile:1.3 src/tests/lib/libpthread/Makefile:1.4
--- src/tests/lib/libpthread/Makefile:1.3	Tue Nov 30 18:38:54 2010
+++ src/tests/lib/libpthread/Makefile	Wed Dec  8 23:50:14 2010
@@ -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"
 

Reply via email to