mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-05 08:00:30 +00:00
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
This commit is contained in:
parent
79b05c7ff0
commit
1270146286
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=296805
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue