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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user