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:
John Baldwin 2022-11-22 11:12:06 -08:00
parent f6fdf9214a
commit fd5882e1f2

View file

@ -13,6 +13,8 @@ CFLAGS+= -DLIBWRAP
LIBADD= wrap
.endif
CWARNFLAGS.gcc+= -Wno-format-nonliteral
HAS_TESTS=
SUBDIR.${MK_TESTS}+= tests