1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/lib/csu
Ed Schouten 7e659f9491 Add the Clang specific -Wmissing-variable-declarations to WARNS=6.
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@
2013-04-19 19:45:00 +00:00
..
amd64 Only assign the environ in the startup code when environ is NULL. 2013-01-07 17:58:27 +00:00
arm Only assign the environ in the startup code when environ is NULL. 2013-01-07 17:58:27 +00:00
common Only assign the environ in the startup code when environ is NULL. 2013-01-07 17:58:27 +00:00
i386-elf Only assign the environ in the startup code when environ is NULL. 2013-01-07 17:58:27 +00:00
ia64 After r217375, some startup objects under lib/csu are built in a special 2012-04-20 21:00:39 +00:00
mips Only assign the environ in the startup code when environ is NULL. 2013-01-07 17:58:27 +00:00
powerpc Only assign the environ in the startup code when environ is NULL. 2013-01-07 17:58:27 +00:00
powerpc64 Only assign the environ in the startup code when environ is NULL. 2013-01-07 17:58:27 +00:00
sparc64 Only assign the environ in the startup code when environ is NULL. 2013-01-07 17:58:27 +00:00
Makefile.inc Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00