aboutsummaryrefslogtreecommitdiff
path: root/sys/conf
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2007-07-05 07:04:17 +0000
committerPeter Wemm <peter@FreeBSD.org>2007-07-05 07:04:17 +0000
commit40854247094cd72f1e47d69e384fc6ce868aeccb (patch)
tree72f91b0620cb697ff2a9624f271a7a0798b693bb /sys/conf
parent0278f1c0a34a4552bcdd1c68c765f52f30ee7f7f (diff)
Notes
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files4
-rw-r--r--sys/conf/kern.pre.mk2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 2d5dbda96d85..b9e9307d7de4 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -276,7 +276,7 @@ contrib/ipfilter/netinet/ip_sync.c optional ipfilter inet \
contrib/ipfilter/netinet/mlfk_ipl.c optional ipfilter inet \
compile-with "${NORMAL_C} -I$S/contrib/ipfilter"
contrib/ngatm/netnatm/api/cc_conn.c optional ngatm_ccatm \
- compile-with "${NORMAL_C} -I$S/contrib/ngatm"
+ compile-with "${NORMAL_C_NOWERROR} -I$S/contrib/ngatm"
contrib/ngatm/netnatm/api/cc_data.c optional ngatm_ccatm \
compile-with "${NORMAL_C} -I$S/contrib/ngatm"
contrib/ngatm/netnatm/api/cc_dump.c optional ngatm_ccatm \
@@ -336,7 +336,7 @@ contrib/pf/net/pf_osfp.c optional pf \
contrib/pf/net/pf_ruleset.c optional pf \
compile-with "${NORMAL_C} -I$S/contrib/pf"
contrib/pf/net/pf_subr.c optional pf \
- compile-with "${NORMAL_C} -I$S/contrib/pf"
+ compile-with "${NORMAL_C_NOWERROR} -I$S/contrib/pf"
contrib/pf/net/pf_table.c optional pf \
compile-with "${NORMAL_C} -I$S/contrib/pf"
contrib/pf/netinet/in4_cksum.c optional pf inet
diff --git a/sys/conf/kern.pre.mk b/sys/conf/kern.pre.mk
index 81834705aed0..1d8bcafafd1a 100644
--- a/sys/conf/kern.pre.mk
+++ b/sys/conf/kern.pre.mk
@@ -90,7 +90,7 @@ CFLAGS+= ${INCLUDES} -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.
CFLAGS+= -fno-common -finline-limit=${INLINE_LIMIT}
CFLAGS+= --param inline-unit-growth=100
CFLAGS+= --param large-function-growth=1000
-#WERROR?= -Werror
+WERROR?= -Werror
.endif
# XXX LOCORE means "don't declare C stuff" not "for locore.s".