Changeset View
Changeset View
Standalone View
Standalone View
lib/libauditd/Makefile
Show All 17 Lines | |||||
# | # | ||||
CFLAGS+= -I${OPENBSMDIR} -I${_LIBBSMDIR} | CFLAGS+= -I${OPENBSMDIR} -I${_LIBBSMDIR} | ||||
WARNS?= 3 | WARNS?= 3 | ||||
MAN= | MAN= | ||||
.include <bsd.lib.mk> | .include <bsd.lib.mk> | ||||
# Disable -Wcast-align. Casting res->ai_addr in auditd_set_host triggers this | |||||
aniketp: s/cating/casting | |||||
# warning, but it's ok because res->ai_addr must've originally pointed to a | |||||
# sockaddr_in or sockaddr_in6 anyway. | |||||
# Better would be to disable this warning in just that one function, but GCC | |||||
# 4.2 can't do that :( . | |||||
CWARNFLAGS.auditd_lib.c+= -Wno-cast-align | |||||
Not Done Inline ActionsIsn't the next best thing disabling it in only one file? Does CWARNFLAGS.auditd_lib.c+= -Wno-cast-align work? Similar below. cem: Isn't the next best thing disabling it in only one file?
Does `CWARNFLAGS.auditd_lib.c+= -Wno… |
s/cating/casting