summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.sys.mk
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2011-12-18 00:34:42 +0000
committerdim <dim@FreeBSD.org>2011-12-18 00:34:42 +0000
commitc33f43657fb18a2032cf85bbbe9de44fd81475e4 (patch)
tree32ee586a78c960634ae5e46dccb1f50807efa049 /share/mk/bsd.sys.mk
parent6990aaaaad9033700839123d1cd90d89b80444b4 (diff)
downloadFreeBSD-src-c33f43657fb18a2032cf85bbbe9de44fd81475e4.zip
FreeBSD-src-c33f43657fb18a2032cf85bbbe9de44fd81475e4.tar.gz
Disable another clang warning (-Wempty-body) when WARNS <= 2.
MFC after: 1 week
Diffstat (limited to 'share/mk/bsd.sys.mk')
-rw-r--r--share/mk/bsd.sys.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk
index d4830f1..7a72ca6 100644
--- a/share/mk/bsd.sys.mk
+++ b/share/mk/bsd.sys.mk
@@ -66,7 +66,7 @@ CWARNFLAGS += -Wno-tautological-compare -Wno-unused-value\
-Wno-conversion
. endif
. if ${WARNS} <= 2
-CWARNFLAGS += -Wno-switch-enum
+CWARNFLAGS += -Wno-switch-enum -Wno-empty-body
. endif
. if ${WARNS} <= 1
CWARNFLAGS += -Wno-parentheses
OpenPOWER on IntegriCloud