bhyve: Disable thread safety analysis

The warnings that arise are bogus and have to be muted with
__no_lock_analysis in most cases.  As a step towards enabling the
default warning level for bhyve, just disable them.

Reviewed by:	corvink, jhb
MFC after:	2 weeks
Differential Revision:	https://reviews.freebsd.org/D37295
This commit is contained in:
Mark Johnston 2022-11-18 14:04:19 -05:00
parent ca6b48f080
commit 1a8e52391b

View file

@ -134,5 +134,10 @@ CFLAGS+=-DGDB_LOG
WARNS?= 2
# Disable thread safety analysis since it only finds very simple bugs and
# yields many false positives.
NO_WTHREAD_SAFETY=
SUBDIR= kbdlayout
.include <bsd.prog.mk>