mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
qat: Move CWARNFLAGS down so it works.
CWARNFLAGS must be added to after including kern.mk, otherwise all the warnings set in kern.mk are ignored. This is why the -Wmissing-prototypes warnings were not seen previously. While here, drop -Wno-pointer-sign as it is doesn't seem to be needed, but add -Wno-cast-qual to silence warnings for various casts of const pointers to non-const pointers. Reviewed by: MichalX.Gulbicki_intel.com, markj Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D36332
This commit is contained in:
parent
1c4c92f91b
commit
e120d3b2d4
1 changed files with 2 additions and 1 deletions
|
|
@ -71,5 +71,6 @@ CFLAGS+= -I${SRCTOP}/sys/dev/qat/qat_api/firmware/include
|
|||
CFLAGS+= -I${SRCTOP}/sys/dev/qat/include/common
|
||||
CFLAGS+= -I${SYSDIR}/compat/linuxkpi/common/include
|
||||
|
||||
CWARNFLAGS += -Wno-pointer-sign
|
||||
.include <bsd.kmod.mk>
|
||||
|
||||
CWARNFLAGS+= -Wno-cast-qual
|
||||
|
|
|
|||
Loading…
Reference in a new issue