Suppress old gcc warning about null format string

This is workaround to make head build on gcc using architectures

Sponsored by:	The FreeBSD Foundation
MFC-with:	r346149
This commit is contained in:
lwhsu 2019-04-12 18:35:14 +00:00
parent a70d482855
commit 03f792f058

View File

@ -97,6 +97,8 @@ SRCS= ${LIB_SRCS} \
WARNS?= 3
CFLAGS+= -DHAVE_CONFIG_H \
-I${SRCTOP}/lib/libopenbsd/
# This can be removed after swtiching to newer gcc
CFLAGS.gcc+= -Wno-format
LIBADD= openbsd z
.include <bsd.prog.mk>