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:
Li-Wen Hsu 2019-04-12 18:35:14 +00:00
parent cfe60d67ae
commit e54f925b68
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346160

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>