mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +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@
12 lines
220 B
Makefile
12 lines
220 B
Makefile
# $FreeBSD$
|
|
|
|
SHLIB_MAJOR= 6
|
|
|
|
MANFILTER= sed -e 's%@MODPATH@%${LIBDIR}/%g' \
|
|
-e 's%@DEFPATH@%${DEFSDIR}/%g' \
|
|
-e 's%@MIBSPATH@%${BMIBSDIR}/%g'
|
|
|
|
NO_WMISSING_VARIABLE_DECLARATIONS=
|
|
|
|
.include "../Makefile.inc"
|