Module Name: src
Committed By: mrg
Date: Wed May 28 17:09:18 UTC 2014
Modified Files:
src/external/gpl3/gcc/lib/libsupc++: Makefile Makefile.common
Log Message:
move the -std=gnu++0x code from Makefile to Makefile.common.
fixes the remaining 2/3 link issues.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gcc/lib/libsupc++/Makefile
cvs rdiff -u -r1.6 -r1.7 src/external/gpl3/gcc/lib/libsupc++/Makefile.common
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/lib/libsupc++/Makefile
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile:1.8 src/external/gpl3/gcc/lib/libsupc++/Makefile:1.9
--- src/external/gpl3/gcc/lib/libsupc++/Makefile:1.8 Thu May 15 14:37:08 2014
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile Wed May 28 17:09:18 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2014/05/15 14:37:08 joerg Exp $
+# $NetBSD: Makefile,v 1.9 2014/05/28 17:09:18 mrg Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -40,10 +40,6 @@ DPSRCS+= ${_dst}
.endif
.endif
-.for f in eh_ptr eh_throw guard atexit_thread nested_exception
-COPTS.${f}.cc+= -std=gnu++0x
-.endfor
-
.include <bsd.lib.mk>
.PATH: ${DIST}/libstdc++-v3/src \
Index: src/external/gpl3/gcc/lib/libsupc++/Makefile.common
diff -u src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.6 src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.7
--- src/external/gpl3/gcc/lib/libsupc++/Makefile.common:1.6 Sat Mar 1 10:00:48 2014
+++ src/external/gpl3/gcc/lib/libsupc++/Makefile.common Wed May 28 17:09:18 2014
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.6 2014/03/01 10:00:48 mrg Exp $
+# $NetBSD: Makefile.common,v 1.7 2014/05/28 17:09:18 mrg Exp $
DIST= ${NETBSDSRCDIR}/external/gpl3/gcc/dist
GNUHOSTDIST= ${DIST}
@@ -23,3 +23,7 @@ CPPFLAGS+= -I${.CURDIR}/../libstdc++-v3/
CPPFLAGS+= -DHAVE_STDLIB_H -DHAVE_STRING_H
CPPFLAGS.cp-demangle.c=-DIN_GLIBCPP_V3
+
+.for f in eh_ptr eh_throw guard atexit_thread nested_exception
+COPTS.${f}.cc+= -std=gnu++0x
+.endfor