Suppress some harmless clang warnings.

This commit is contained in:
riastradh 2021-12-19 01:03:42 +00:00
parent c05881b8f8
commit eafdbb6951
1 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.18 2021/06/03 15:59:04 nia Exp $
# $NetBSD: Makefile,v 1.19 2021/12/19 01:03:42 riastradh Exp $
.include "../Makefile.inc"
.include "../drmkms/Makefile.inc"
@ -26,6 +26,8 @@ CPPFLAGS+= -DNVGA=1
CWARNFLAGS+= -Wno-shadow
CWARNFLAGS+= -Wno-pointer-arith
CWARNFLAGS.clang+= -Wno-error=enum-conversion
CWARNFLAGS.clang+= -Wno-error=unused-function
# Code imported from Linux - expects signed overflow to be OK.
COPTS+= -fwrapv