Source-Changes-HG archive

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

[src/trunk]: src Ignore warnings when building with clang for now.



details:   https://anonhg.NetBSD.org/src/rev/a2fc0ef7e2f7
branches:  trunk
changeset: 765558:a2fc0ef7e2f7
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon May 30 14:41:26 2011 +0000

description:
Ignore warnings when building with clang for now.

diffstat:

 external/gpl3/binutils/lib/libbfd/Makefile     |  3 ++-
 external/gpl3/binutils/lib/libiberty/Makefile  |  3 ++-
 external/gpl3/binutils/lib/libopcodes/Makefile |  3 ++-
 external/gpl3/binutils/usr.bin/Makefile.inc    |  4 +++-
 gnu/lib/libgcc4/Makefile.inc                   |  3 ++-
 gnu/usr.bin/gcc4/Makefile.inc                  |  4 +++-
 lib/i18n_module/Makefile.inc                   |  4 +++-
 tests/fs/nfs/Makefile                          |  4 +++-
 usr.sbin/racoon/Makefile                       |  3 ++-
 usr.sbin/racoonctl/Makefile                    |  3 ++-
 10 files changed, 24 insertions(+), 10 deletions(-)

diffs (146 lines):

diff -r 91f047b6200b -r a2fc0ef7e2f7 external/gpl3/binutils/lib/libbfd/Makefile
--- a/external/gpl3/binutils/lib/libbfd/Makefile        Mon May 30 14:34:58 2011 +0000
+++ b/external/gpl3/binutils/lib/libbfd/Makefile        Mon May 30 14:41:26 2011 +0000
@@ -1,9 +1,10 @@
-#      $NetBSD: Makefile,v 1.4 2010/03/14 00:26:09 mrg Exp $
+#      $NetBSD: Makefile,v 1.5 2011/05/30 14:41:26 joerg Exp $
 
 NOLINKLIB=     # defined
 NOLINT=                # defined
 NOMAN=         # defined
 NOPROFILE=     # defined
+NOCLANGERROR=  # defined
 
 .include <bsd.own.mk>
 
diff -r 91f047b6200b -r a2fc0ef7e2f7 external/gpl3/binutils/lib/libiberty/Makefile
--- a/external/gpl3/binutils/lib/libiberty/Makefile     Mon May 30 14:34:58 2011 +0000
+++ b/external/gpl3/binutils/lib/libiberty/Makefile     Mon May 30 14:41:26 2011 +0000
@@ -1,9 +1,10 @@
-#      $NetBSD: Makefile,v 1.1 2009/08/18 20:22:02 skrll Exp $
+#      $NetBSD: Makefile,v 1.2 2011/05/30 14:41:26 joerg Exp $
 
 NOLINT=                # defined
 NOPROFILE=     # defined
 NOPIC=         # defined
 NOLINKLIB=     # defined
+NOCLANGERROR=  # defined
 
 .include <bsd.own.mk>
 
diff -r 91f047b6200b -r a2fc0ef7e2f7 external/gpl3/binutils/lib/libopcodes/Makefile
--- a/external/gpl3/binutils/lib/libopcodes/Makefile    Mon May 30 14:34:58 2011 +0000
+++ b/external/gpl3/binutils/lib/libopcodes/Makefile    Mon May 30 14:41:26 2011 +0000
@@ -1,9 +1,10 @@
-#      $NetBSD: Makefile,v 1.2 2009/09/03 08:24:06 skrll Exp $
+#      $NetBSD: Makefile,v 1.3 2011/05/30 14:41:26 joerg Exp $
 
 NOLINKLIB=     # defined
 NOLINT=                # defined
 NOMAN=         # defined
 NOPROFILE=     # defined
+NOCLANGERROR=  # defined
 
 .include <bsd.own.mk>
 
diff -r 91f047b6200b -r a2fc0ef7e2f7 external/gpl3/binutils/usr.bin/Makefile.inc
--- a/external/gpl3/binutils/usr.bin/Makefile.inc       Mon May 30 14:34:58 2011 +0000
+++ b/external/gpl3/binutils/usr.bin/Makefile.inc       Mon May 30 14:41:26 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.2 2009/10/19 02:31:26 christos Exp $
+#      $NetBSD: Makefile.inc,v 1.3 2011/05/30 14:41:26 joerg Exp $
 
 BINDIR?=       /usr/bin
 
@@ -16,4 +16,6 @@
 LDADD+=-lz
 DPADD+=${LIBZ}
 
+NOGCCERROR=    # defined
+
 .endif # __MAKEFILE_INC_INCLUDED__
diff -r 91f047b6200b -r a2fc0ef7e2f7 gnu/lib/libgcc4/Makefile.inc
--- a/gnu/lib/libgcc4/Makefile.inc      Mon May 30 14:34:58 2011 +0000
+++ b/gnu/lib/libgcc4/Makefile.inc      Mon May 30 14:41:26 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.21 2011/05/20 21:45:35 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.22 2011/05/30 14:41:26 joerg Exp $
 
 .if ${MKGCC} != "no"
 .if exists(${.CURDIR}/../arch/${MACHINE_ARCH}.mk)
@@ -152,3 +152,4 @@
 CLEANFILES+=   ${FAKEHEADERS}
 
 COPTS+= ${${ACTIVE_CC} == "clang":?-fheinous-gnu-extensions:}
+NOCLANGERROR=  # defined
diff -r 91f047b6200b -r a2fc0ef7e2f7 gnu/usr.bin/gcc4/Makefile.inc
--- a/gnu/usr.bin/gcc4/Makefile.inc     Mon May 30 14:34:58 2011 +0000
+++ b/gnu/usr.bin/gcc4/Makefile.inc     Mon May 30 14:41:26 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.inc,v 1.4 2011/05/20 22:13:22 joerg Exp $
+#      $NetBSD: Makefile.inc,v 1.5 2011/05/30 14:41:26 joerg Exp $
 
 .include <bsd.own.mk>
 
@@ -62,3 +62,5 @@
 # This depends on the "extern inline" mess, so downgrade to something safe.
 # CPPFLAGS is applied after CFLAGS, which gets the -std=gnu99
 CPPFLAGS+=     -std=gnu89
+
+NOCLANGERROR=  # defined
diff -r 91f047b6200b -r a2fc0ef7e2f7 lib/i18n_module/Makefile.inc
--- a/lib/i18n_module/Makefile.inc      Mon May 30 14:34:58 2011 +0000
+++ b/lib/i18n_module/Makefile.inc      Mon May 30 14:41:26 2011 +0000
@@ -1,9 +1,11 @@
-#      $NetBSD: Makefile.inc,v 1.11 2009/12/13 08:25:20 mrg Exp $
+#      $NetBSD: Makefile.inc,v 1.12 2011/05/30 14:41:26 joerg Exp $
 
 NOLINT=                # defined
 NOPICINSTALL=  # defined
 NOPROFILE=     # defined
 
+NOCLANGERROR=  # defined
+
 .include <bsd.own.mk>
 
 SHLIB_VERSION_FILE=    ${NETBSDSRCDIR}/lib/i18n_module/shlib_version
diff -r 91f047b6200b -r a2fc0ef7e2f7 tests/fs/nfs/Makefile
--- a/tests/fs/nfs/Makefile     Mon May 30 14:34:58 2011 +0000
+++ b/tests/fs/nfs/Makefile     Mon May 30 14:41:26 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.5 2011/03/12 14:03:38 bouyer Exp $
+#      $NetBSD: Makefile,v 1.6 2011/05/30 14:41:26 joerg Exp $
 #
 
 .include <bsd.own.mk>
@@ -26,4 +26,6 @@
 
 LDADD+=-lutil
 
+NOCLANGERROR=  # defined
+
 .include <bsd.test.mk>
diff -r 91f047b6200b -r a2fc0ef7e2f7 usr.sbin/racoon/Makefile
--- a/usr.sbin/racoon/Makefile  Mon May 30 14:34:58 2011 +0000
+++ b/usr.sbin/racoon/Makefile  Mon May 30 14:41:26 2011 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.22 2009/04/22 15:23:07 lukem Exp $
+# $NetBSD: Makefile,v 1.23 2011/05/30 14:41:27 joerg Exp $
 
 WARNS?=        0       # XXX third-party program, many issues
+NOCLANGERROR=  # defined
 
 .include <bsd.own.mk>
 
diff -r 91f047b6200b -r a2fc0ef7e2f7 usr.sbin/racoonctl/Makefile
--- a/usr.sbin/racoonctl/Makefile       Mon May 30 14:34:58 2011 +0000
+++ b/usr.sbin/racoonctl/Makefile       Mon May 30 14:41:26 2011 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2009/05/07 09:31:40 spz Exp $
+# $NetBSD: Makefile,v 1.6 2011/05/30 14:41:27 joerg Exp $
 
 WARNS?=        0       # XXX third-party program, many issues
+NOCLANGERROR=  # defined
 
 .include <bsd.own.mk>
 



Home | Main Index | Thread Index | Old Index