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/lib/verify Compile bignum.c with ...



details:   https://anonhg.NetBSD.org/src/rev/1348e4101a18
branches:  trunk
changeset: 783525:1348e4101a18
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Dec 27 14:16:16 2012 +0000

description:
Compile bignum.c with -O1 only on ia64 to avoid a gcc bug

diffstat:

 crypto/external/bsd/netpgp/lib/verify/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r f5fe2c6f0220 -r 1348e4101a18 crypto/external/bsd/netpgp/lib/verify/Makefile
--- a/crypto/external/bsd/netpgp/lib/verify/Makefile    Thu Dec 27 10:41:18 2012 +0000
+++ b/crypto/external/bsd/netpgp/lib/verify/Makefile    Thu Dec 27 14:16:16 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2012/11/22 21:20:44 agc Exp $
+# $NetBSD: Makefile,v 1.5 2012/12/27 14:16:16 martin Exp $
 
 LIB=netpgpverify
 SRCS=libverify.c b64.c pgpsum.c
@@ -17,3 +17,8 @@
 INCSDIR=/usr/include/netpgp
 
 .include <bsd.lib.mk>
+
+.if ${HAVE_GCC:U} == "45" && ${MACHINE_CPU} == "ia64"
+COPTS.bignum.c+=       ${${ACTIVE_CC} == "gcc" :? -O1 :}
+.endif
+



Home | Main Index | Thread Index | Old Index