Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jun 2019 20:16:27 +0000 (UTC)
From:      Li-Wen Hsu <lwhsu@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r349024 - stable/12/usr.bin/mandoc
Message-ID:  <201906132016.x5DKGRu7018117@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906132016.x5DKGRu7018117>