mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Add BDECFLAGS so people can use them easily in /etc/make.conf.
This commit is contained in:
parent
55b8fbfb5b
commit
c5225ad92f
2 changed files with 18 additions and 0 deletions
|
|
@ -26,6 +26,15 @@
|
|||
#
|
||||
#CXXFLAGS+= -fmemoize-lookups -fsave-memoized
|
||||
#
|
||||
# BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested
|
||||
# for use in developing FreeBSD and testing changes. They can be used by
|
||||
# putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf.
|
||||
#
|
||||
BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
|
||||
-Wcast-qual -Wchar-subscripts -Wconversion -Winline \
|
||||
-Wmissing-prototypes -Wnested-externs -Wpointer-arith \
|
||||
-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
|
||||
#
|
||||
# Avoid compiling profiled libraries
|
||||
#NOPROFILE= true
|
||||
#
|
||||
|
|
|
|||
|
|
@ -26,6 +26,15 @@
|
|||
#
|
||||
#CXXFLAGS+= -fmemoize-lookups -fsave-memoized
|
||||
#
|
||||
# BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested
|
||||
# for use in developing FreeBSD and testing changes. They can be used by
|
||||
# putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf.
|
||||
#
|
||||
BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \
|
||||
-Wcast-qual -Wchar-subscripts -Wconversion -Winline \
|
||||
-Wmissing-prototypes -Wnested-externs -Wpointer-arith \
|
||||
-Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
|
||||
#
|
||||
# Avoid compiling profiled libraries
|
||||
#NOPROFILE= true
|
||||
#
|
||||
|
|
|
|||
Loading…
Reference in a new issue