summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2014-10-10 00:35:13 +0000
committerimp <imp@FreeBSD.org>2014-10-10 00:35:13 +0000
commitf7d13532c956ff0178ceb8cfb60505a36a8abce0 (patch)
tree4878059cf8599559cf0dfc8d8204d92a46c24dbb /sys/conf
parenta2b4dd0675a6c16c348638791e6e1a47cc047997 (diff)
downloadFreeBSD-src-f7d13532c956ff0178ceb8cfb60505a36a8abce0.zip
FreeBSD-src-f7d13532c956ff0178ceb8cfb60505a36a8abce0.tar.gz
For gcc 4.6 and newer, _Static_assert is a keyword, so don't try to
redefine it. It does what we want, and is always available unlike other alternatives.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index e4819c6..ac94936 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -38,7 +38,7 @@ CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
# building with gcc 4.8 and newer. Nothing older has been tested.
CWARNEXTRA?= -Wno-error=inline -Wno-error=enum-compare -Wno-error=unused-but-set-variable \
-Wno-error=aggressive-loop-optimizations -Wno-error=maybe-uninitialized \
- -Wno-error=unused-local-typedefs -Wno-error=array-bounds -Wno-error=address \
+ -Wno-error=array-bounds -Wno-error=address \
-Wno-error=cast-qual -Wno-error=sequence-point -Wno-error=attributes
.endif
OpenPOWER on IntegriCloud