mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
7e659f9491
This compiler flag enforces that that people either mark variables static or use an external declarations for the variable, similar to how -Wmissing-prototypes works for functions. Due to the fact that Yacc/Lex generate code that cannot trivially be changed to not warn because of this (lots of yy* variables), add a NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this specific compiler warning. Announced on: toolchain@
14 lines
248 B
Makefile
14 lines
248 B
Makefile
# $FreeBSD$
|
|
|
|
LIB= fifolog
|
|
INTERNALLIB= # API not published or supported.
|
|
|
|
SRCS= fifolog_int.c fifolog_create.c fifolog_write_poll.c fifolog_reader.c
|
|
SRCS+= getdate.y
|
|
|
|
CFLAGS+= -I${.CURDIR}
|
|
|
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
|
|
|
.include <bsd.lib.mk>
|