Older gcc does not support -Wno-format-literal
This commit is contained in:
parent
00def356cf
commit
3f5160ac62
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile,v 1.10 2014/03/12 06:38:56 agc Exp $
|
||||
# $NetBSD: Makefile,v 1.11 2014/03/13 08:13:21 martin Exp $
|
||||
|
||||
PROG=netpgpverify
|
||||
BINDIR= /usr/bin
|
||||
@ -12,7 +12,9 @@ SRCS+= bzlib.c zlib.c
|
||||
SRCS+= md5c.c rmd160.c sha1.c sha2.c tiger.c
|
||||
|
||||
CPPFLAGS+=-I${.CURDIR} -I${EXTDIST}/src/netpgpverify
|
||||
.if !defined(HAVE_GCC) || ${HAVE_GCC} >= 45
|
||||
COPTS.libverify.c+= -Wno-format-literal
|
||||
.endif
|
||||
|
||||
.ifndef PRODUCTION
|
||||
CPPFLAGS+=-g -O0
|
||||
|
Loading…
Reference in New Issue
Block a user