diff options
author | imp <imp@FreeBSD.org> | 2014-10-10 00:35:13 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2014-10-10 00:35:13 +0000 |
commit | f7d13532c956ff0178ceb8cfb60505a36a8abce0 (patch) | |
tree | 4878059cf8599559cf0dfc8d8204d92a46c24dbb /sys/conf | |
parent | a2b4dd0675a6c16c348638791e6e1a47cc047997 (diff) | |
download | FreeBSD-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.mk | 2 |
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 |