Source-Changes-HG archive

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

[src/trunk]: src/sys/arch Disable -Werror for ah_regdomain.c if building with...



details:   https://anonhg.NetBSD.org/src/rev/a731f6ca1412
branches:  trunk
changeset: 765560:a731f6ca1412
user:      joerg <joerg%NetBSD.org@localhost>
date:      Mon May 30 15:06:32 2011 +0000

description:
Disable -Werror for ah_regdomain.c if building with clang as workaround
for http://llvm.org/bugs/show_bug.cgi?id=10030.

diffstat:

 sys/arch/amd64/conf/Makefile.amd64 |  3 ++-
 sys/arch/i386/conf/Makefile.i386   |  3 ++-
 sys/arch/xen/conf/Makefile.xen     |  3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)

diffs (51 lines):

diff -r fbe16eb642da -r a731f6ca1412 sys/arch/amd64/conf/Makefile.amd64
--- a/sys/arch/amd64/conf/Makefile.amd64        Mon May 30 14:50:08 2011 +0000
+++ b/sys/arch/amd64/conf/Makefile.amd64        Mon May 30 15:06:32 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.amd64,v 1.34 2011/05/20 13:21:54 joerg Exp $
+#      $NetBSD: Makefile.amd64,v 1.35 2011/05/30 15:06:32 joerg Exp $
 
 # Makefile for NetBSD
 #
@@ -67,6 +67,7 @@
 AFLAGS.mptramp.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
 AFLAGS.linux32_sigcode.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
 AFLAGS.netbsd32_sigcode.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
+CWARNFLAGS.ah_regdomain.c= ${${ACTIVE_CC} == "clang":?-Wno-error:}
 
 ##
 ## (5) link settings
diff -r fbe16eb642da -r a731f6ca1412 sys/arch/i386/conf/Makefile.i386
--- a/sys/arch/i386/conf/Makefile.i386  Mon May 30 14:50:08 2011 +0000
+++ b/sys/arch/i386/conf/Makefile.i386  Mon May 30 15:06:32 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.i386,v 1.170 2011/05/20 13:22:53 joerg Exp $
+#      $NetBSD: Makefile.i386,v 1.171 2011/05/30 15:06:32 joerg Exp $
 
 # Makefile for NetBSD
 #
@@ -36,6 +36,7 @@
 CPPFLAGS+=     -Di386
 
 AFLAGS.mptramp.S= ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
+CWARNFLAGS.ah_regdomain.c= ${${ACTIVE_CC} == "clang":?-Wno-error:}
 
 ##
 ## (3) libkern and compat
diff -r fbe16eb642da -r a731f6ca1412 sys/arch/xen/conf/Makefile.xen
--- a/sys/arch/xen/conf/Makefile.xen    Mon May 30 14:50:08 2011 +0000
+++ b/sys/arch/xen/conf/Makefile.xen    Mon May 30 15:06:32 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.xen,v 1.32 2011/05/20 13:12:59 joerg Exp $
+#      $NetBSD: Makefile.xen,v 1.33 2011/05/30 15:06:32 joerg Exp $
 #      NetBSD: Makefile.i386,v 1.132 2003/07/05 16:56:10 simonb Exp 
 
 # Makefile for NetBSD
@@ -57,6 +57,7 @@
 
 AFLAGS.linux32_sigcode.S+=     ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
 AFLAGS.netbsd32_sigcode.S+=    ${${ACTIVE_CC} == "clang":?-no-integrated-as:}
+CWARNFLAGS.ah_regdomain.c= ${${ACTIVE_CC} == "clang":?-Wno-error:}
 
 ##
 ## (4) local objects, compile rules, and dependencies



Home | Main Index | Thread Index | Old Index