aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/Makefile
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2019-04-12 18:35:14 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2019-04-12 18:35:14 +0000
commite54f925b689055e37dedce98dbd4d9f33a8189a0 (patch)
tree9314046ad7d187d9ad2567a65d444b3788513b95 /usr.bin/mandoc/Makefile
parentcfe60d67aee48c20cd8f1c245a3fbaad6505da59 (diff)
downloadsrc-e54f925b689055e37dedce98dbd4d9f33a8189a0.tar.gz
src-e54f925b689055e37dedce98dbd4d9f33a8189a0.zip
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
Notes
Notes: svn path=/head/; revision=346160
Diffstat (limited to 'usr.bin/mandoc/Makefile')
-rw-r--r--usr.bin/mandoc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/mandoc/Makefile b/usr.bin/mandoc/Makefile
index bd5e50e9857e..ec35ec21d0f8 100644
--- a/usr.bin/mandoc/Makefile
+++ b/usr.bin/mandoc/Makefile
@@ -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>