Module Name:    src
Committed By:   joerg
Date:           Fri Jun 25 16:54:25 UTC 2010

Modified Files:
        src/gnu/lib/libstdc++-v3_4: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/gnu/lib/libstdc++-v3_4/Makefile

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

Modified files:

Index: src/gnu/lib/libstdc++-v3_4/Makefile
diff -u src/gnu/lib/libstdc++-v3_4/Makefile:1.4 src/gnu/lib/libstdc++-v3_4/Makefile:1.5
--- src/gnu/lib/libstdc++-v3_4/Makefile:1.4	Sun Jan 11 03:09:35 2009
+++ src/gnu/lib/libstdc++-v3_4/Makefile	Fri Jun 25 16:54:25 2010
@@ -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 @@
 .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"

Reply via email to