svn commit: r349024 - stable/12/usr.bin/mandoc
Li-Wen Hsu
lwhsu at FreeBSD.org
Thu Jun 13 20:16:27 UTC 2019
Author: lwhsu
Date: Thu Jun 13 20:16:26 2019
New Revision: 349024
URL: https://svnweb.freebsd.org/changeset/base/349024
Log:
MFC r346160:
Suppress old gcc warning about null format string
This is workaround to make head build on gcc using architectures
Sponsored by: The FreeBSD Foundation
Modified:
stable/12/usr.bin/mandoc/Makefile
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/usr.bin/mandoc/Makefile
==============================================================================
--- stable/12/usr.bin/mandoc/Makefile Thu Jun 13 20:09:07 2019 (r349023)
+++ stable/12/usr.bin/mandoc/Makefile Thu Jun 13 20:16:26 2019 (r349024)
@@ -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>
More information about the svn-src-stable-12
mailing list