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 Can't build libstdc++ and libsupc++ wi...



details:   https://anonhg.NetBSD.org/src/rev/81d4171a9e6f
branches:  trunk
changeset: 768137:81d4171a9e6f
user:      joerg <joerg%NetBSD.org@localhost>
date:      Tue Aug 09 13:00:04 2011 +0000

description:
Can't build libstdc++ and libsupc++ with clang since it depends on using
volatiles as initializers of non-volatile fields, void * arithmetic and
some new attributes for the unwinding.

diffstat:

 external/gpl3/gcc/lib/libstdc++-v3/Makefile |  3 ++-
 external/gpl3/gcc/lib/libsupc++/Makefile    |  3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diffs (34 lines):

diff -r c7de2e8764cf -r 81d4171a9e6f external/gpl3/gcc/lib/libstdc++-v3/Makefile
--- a/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Tue Aug 09 12:58:55 2011 +0000
+++ b/external/gpl3/gcc/lib/libstdc++-v3/Makefile       Tue Aug 09 13:00:04 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.4 2011/06/29 02:01:37 mrg Exp $
+#      $NetBSD: Makefile,v 1.5 2011/08/09 13:00:04 joerg Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -10,6 +10,7 @@
 
 LIBDPLIBS+=    m ${.CURDIR}/../../../../../lib/libm
 
+UNSUPPORTED_COMPILER.clang=    # defined
 CWARNFLAGS.clang+=     -Wno-logical-op-parentheses \
                        -Wno-deprecated-writable-strings -Wno-parentheses
 
diff -r c7de2e8764cf -r 81d4171a9e6f external/gpl3/gcc/lib/libsupc++/Makefile
--- a/external/gpl3/gcc/lib/libsupc++/Makefile  Tue Aug 09 12:58:55 2011 +0000
+++ b/external/gpl3/gcc/lib/libsupc++/Makefile  Tue Aug 09 13:00:04 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2011/06/28 04:03:16 mrg Exp $
+#      $NetBSD: Makefile,v 1.4 2011/08/09 13:00:04 joerg Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
@@ -6,6 +6,7 @@
 NOPROFILE=     # defined
 
 CWARNFLAGS.clang+=     -Wno-parentheses
+UNSUPPORTED_COMPILER.clang=    # defined
 
 .include <bsd.own.mk>
 



Home | Main Index | Thread Index | Old Index