Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gcc/lib/libsupc++ move the -std=gnu++0x code f...



details:   https://anonhg.NetBSD.org/src/rev/46bbc06f9164
branches:  trunk
changeset: 329553:46bbc06f9164
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed May 28 17:09:18 2014 +0000

description:
move the -std=gnu++0x code from Makefile to Makefile.common.
fixes the remaining 2/3 link issues.

diffstat:

 external/gpl3/gcc/lib/libsupc++/Makefile        |  6 +-----
 external/gpl3/gcc/lib/libsupc++/Makefile.common |  6 +++++-
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r c210301c7d63 -r 46bbc06f9164 external/gpl3/gcc/lib/libsupc++/Makefile
--- a/external/gpl3/gcc/lib/libsupc++/Makefile  Wed May 28 16:41:06 2014 +0000
+++ b/external/gpl3/gcc/lib/libsupc++/Makefile  Wed May 28 17:09:18 2014 +0000
@@ -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 @@
 .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 \
diff -r c210301c7d63 -r 46bbc06f9164 external/gpl3/gcc/lib/libsupc++/Makefile.common
--- a/external/gpl3/gcc/lib/libsupc++/Makefile.common   Wed May 28 16:41:06 2014 +0000
+++ b/external/gpl3/gcc/lib/libsupc++/Makefile.common   Wed May 28 17:09:18 2014 +0000
@@ -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+=     -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



Home | Main Index | Thread Index | Old Index