mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-01 12:19:28 +00:00
Tweak the WARNS levels a tad.
This commit is contained in:
parent
9e3bfadea8
commit
be5181d5b1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=96949
@ -11,9 +11,6 @@
|
||||
.if !defined(NO_WARNS)
|
||||
. if defined(WARNS)
|
||||
. if ${WARNS} > 0
|
||||
. if !defined(NO_WERROR)
|
||||
CFLAGS += -Werror
|
||||
. endif
|
||||
. endif
|
||||
. if ${WARNS} > 1
|
||||
CFLAGS += -Wall -Wno-format-y2k
|
||||
@ -45,9 +42,6 @@ WFORMAT = 1
|
||||
. if ${WFORMAT} > 0
|
||||
#CFLAGS += -Wformat-nonliteral -Wformat-security -Wno-format-extra-args
|
||||
CFLAGS += -Wformat=2 -Wno-format-extra-args
|
||||
. if !defined(NO_WERROR)
|
||||
CFLAGS += -Werror
|
||||
. endif
|
||||
. endif
|
||||
. endif
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user