1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-04 09:09:56 +00:00

Disable one more clang warning when WARNS <= 3.

MFC after:	1 week
This commit is contained in:
Dimitry Andric 2011-12-15 23:13:57 +00:00
parent 6d9bf0940c
commit c792b7e865
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=228551

View File

@ -61,7 +61,8 @@ CWARNFLAGS += -Wno-pointer-sign
# is set to low values, these have to be disabled explicitly.
. if ${CC:T:Mclang} == "clang"
. if ${WARNS} <= 3
CWARNFLAGS += -Wno-tautological-compare -Wno-unused-value
CWARNFLAGS += -Wno-tautological-compare -Wno-unused-value\
-Wno-parentheses-equality
. endif
. if ${WARNS} <= 2
CWARNFLAGS += -Wno-switch-enum