Disable all inline warnings on gcc >= 4.3. Not sure exactly where the
cutover is, but we need better tools to cope with inline tuning per compiler version than we have. This is a quick bandaid until such tools are around.
This commit is contained in:
parent
d628fa28fa
commit
20256b0bed
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=269981
@ -32,6 +32,10 @@ CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
|
||||
-Wno-error-parentheses-equality -Wno-error-unused-function
|
||||
.endif
|
||||
|
||||
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40300
|
||||
CWARNEXTRA?= -Wno-inline
|
||||
.endif
|
||||
|
||||
# External compilers may not support our format extensions. Allow them
|
||||
# to be disabled. WARNING: format checking is disabled in this case.
|
||||
.if ${MK_FORMAT_EXTENSIONS} == "no"
|
||||
|
Loading…
Reference in New Issue
Block a user