Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/external/bsd/netpgp/bin/netpgpverify Older gcc does n...



details:   https://anonhg.NetBSD.org/src/rev/bdd1f1c1c132
branches:  trunk
changeset: 327658:bdd1f1c1c132
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Mar 13 08:13:21 2014 +0000

description:
Older gcc does not support -Wno-format-literal

diffstat:

 crypto/external/bsd/netpgp/bin/netpgpverify/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 9bd53ff32ccc -r bdd1f1c1c132 crypto/external/bsd/netpgp/bin/netpgpverify/Makefile
--- a/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile      Thu Mar 13 03:34:00 2014 +0000
+++ b/crypto/external/bsd/netpgp/bin/netpgpverify/Makefile      Thu Mar 13 08:13:21 2014 +0000
@@ -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+= 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



Home | Main Index | Thread Index | Old Index