Explicitly link libstdc++ against libm as found by Arnaud Lacombe.

This commit is contained in:
joerg 2010-06-25 16:54:25 +00:00
parent e96b50fc20
commit 7e9c48e195
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.4 2009/01/11 03:09:35 christos Exp $
# $NetBSD: Makefile,v 1.5 2010/06/25 16:54:25 joerg Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@ -6,6 +6,9 @@ NOLINT= # defined
.include <bsd.own.mk>
LIB= stdc++
LDADD= -lgcc_s
LIBDPLIBS+= m ${.CURDIR}/../../../lib/libm
.if exists(${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk) && ${MKGCC} != "no"
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"