mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-30 12:04:07 +00:00
bhyve: Enable the default compiler warnings
Disable -Wcast-align for now since we have many instances of that warning (I fixed some but not most of them) and platforms on which bhyve runs don't particularly care about unaligned accesses. Reviewed by: corvink Differential Revision: https://reviews.freebsd.org/D37296
This commit is contained in:
parent
0705b7f4e6
commit
71ebd11738
@ -132,12 +132,12 @@ CFLAGS+= -DBHYVE_SNAPSHOT
|
||||
CFLAGS+=-DGDB_LOG
|
||||
.endif
|
||||
|
||||
WARNS?= 2
|
||||
|
||||
# Disable thread safety analysis since it only finds very simple bugs and
|
||||
# yields many false positives.
|
||||
NO_WTHREAD_SAFETY=
|
||||
|
||||
NO_WCAST_ALIGN=
|
||||
|
||||
SUBDIR= kbdlayout
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user