summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-03-13 19:17:48 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-03-13 19:17:48 +0000
commitc53e82adb111478a70ea7d494a59b6f88b44912a (patch)
tree354a87996c4051374cd960bd1541fc6b44785609 /sys/conf
parent5d2092c908f0a7d5e3de057b88a882b586634cc5 (diff)
downloadFreeBSD-src-c53e82adb111478a70ea7d494a59b6f88b44912a.zip
FreeBSD-src-c53e82adb111478a70ea7d494a59b6f88b44912a.tar.gz
We only support GCC 4.8 for these flags.
- 4.7 introduced maybe-uninitialized - 4.8 introduced aggressive-loop-optimizations Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 085d78f..f561f8a 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -42,10 +42,9 @@ CLANG_NO_IAS34= -no-integrated-as
.endif
.if ${COMPILER_TYPE} == "gcc"
-.if ${COMPILER_VERSION} >= 40300
+.if ${COMPILER_VERSION} >= 40800
# Catch-all for all the things that are in our tree, but for which we're
-# not yet ready for this compiler. Note: we likely only really "support"
-# building with gcc 4.8 and newer. Nothing older has been tested.
+# not yet ready for this compiler.
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=array-bounds -Wno-error=address \
OpenPOWER on IntegriCloud