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>
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to