Module Name: src
Committed By: riz
Date: Fri Jan 7 23:52:42 UTC 2011
Modified Files:
src/gnu/lib/libstdc++-v3_4 [netbsd-5]: Makefile
Log Message:
Pull up following revision(s) (requested by joerg in ticket #1432):
gnu/lib/libstdc++-v3_4/Makefile: revision 1.5
Explicitly link libstdc++ against libm as found by Arnaud Lacombe.
Explicitly link libstdc++ against libm as found by Arnaud Lacombe.
Explicitly link libstdc++ against libm as found by Arnaud Lacombe.
To generate a diff of this commit:
cvs rdiff -u -r1.3.24.2 -r1.3.24.3 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.3.24.2 src/gnu/lib/libstdc++-v3_4/Makefile:1.3.24.3
--- src/gnu/lib/libstdc++-v3_4/Makefile:1.3.24.2 Sat Nov 27 21:12:23 2010
+++ src/gnu/lib/libstdc++-v3_4/Makefile Fri Jan 7 23:52:42 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3.24.2 2010/11/27 21:12:23 riz Exp $
+# $NetBSD: Makefile,v 1.3.24.3 2011/01/07 23:52:42 riz 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"