Module Name: src
Committed By: joerg
Date: Mon May 30 15:06:33 UTC 2011
Modified Files:
src/sys/arch/amd64/conf: Makefile.amd64
src/sys/arch/i386/conf: Makefile.i386
src/sys/arch/xen/conf: Makefile.xen
Log Message:
Disable -Werror for ah_regdomain.c if building with clang as workaround
for http://llvm.org/bugs/show_bug.cgi?id=10030.
To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/amd64/conf/Makefile.amd64
cvs rdiff -u -r1.170 -r1.171 src/sys/arch/i386/conf/Makefile.i386
cvs rdiff -u -r1.32 -r1.33 src/sys/arch/xen/conf/Makefile.xen
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/amd64/conf/Makefile.amd64
diff -u src/sys/arch/amd64/conf/Makefile.amd64:1.34 src/sys/arch/amd64/conf/Makefile.amd64:1.35
--- src/sys/arch/amd64/conf/Makefile.amd64:1.34 Fri May 20 13:21:54 2011
+++ src/sys/arch/amd64/conf/Makefile.amd64 Mon May 30 15:06:32 2011
@@ -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
Index: src/sys/arch/i386/conf/Makefile.i386
diff -u src/sys/arch/i386/conf/Makefile.i386:1.170 src/sys/arch/i386/conf/Makefile.i386:1.171
--- src/sys/arch/i386/conf/Makefile.i386:1.170 Fri May 20 13:22:53 2011
+++ src/sys/arch/i386/conf/Makefile.i386 Mon May 30 15:06:32 2011
@@ -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
Index: src/sys/arch/xen/conf/Makefile.xen
diff -u src/sys/arch/xen/conf/Makefile.xen:1.32 src/sys/arch/xen/conf/Makefile.xen:1.33
--- src/sys/arch/xen/conf/Makefile.xen:1.32 Fri May 20 13:12:59 2011
+++ src/sys/arch/xen/conf/Makefile.xen Mon May 30 15:06:32 2011
@@ -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