tftpd: Disable -Wformat-nonliteral for GCC.
GCC warns about the non-literal format string passed to strftime(). A warning here seems a bit odd as strftime() does not take varargs so there is not a risk of missing args.
This commit is contained in:
parent
f6fdf9214a
commit
fd5882e1f2
@ -13,6 +13,8 @@ CFLAGS+= -DLIBWRAP
|
||||
LIBADD= wrap
|
||||
.endif
|
||||
|
||||
CWARNFLAGS.gcc+= -Wno-format-nonliteral
|
||||
|
||||
HAS_TESTS=
|
||||
SUBDIR.${MK_TESTS}+= tests
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user