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

This commit is contained in:
joerg 2010-12-08 23:50:14 +00:00
parent 02fad731e5
commit 1b0b455148
1 changed files with 2 additions and 1 deletions

View File

@ -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 @@ NOMAN= # defined
TESTSDIR= ${TESTSBASE}/lib/libpthread
LDADD+= -lpthread
LDADD.t_fpu+= -lm
.include "${.PARSEDIR}/../csu/Makefile.check_stack"