Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/bind/libdns For the sh5 target, reduce optimization...



details:   https://anonhg.NetBSD.org/src/rev/50c40e896cd0
branches:  trunk
changeset: 571096:50c40e896cd0
user:      he <he%NetBSD.org@localhost>
date:      Thu Nov 11 00:34:05 2004 +0000

description:
For the sh5 target, reduce optimization level for two files so that
BIND compiles on that platform.

diffstat:

 usr.sbin/bind/libdns/Makefile |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (22 lines):

diff -r d9b07d3fcbda -r 50c40e896cd0 usr.sbin/bind/libdns/Makefile
--- a/usr.sbin/bind/libdns/Makefile     Thu Nov 11 00:19:48 2004 +0000
+++ b/usr.sbin/bind/libdns/Makefile     Thu Nov 11 00:34:05 2004 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.1.1.1 2004/05/18 00:06:58 christos Exp $
+#      $NetBSD: Makefile,v 1.2 2004/11/11 00:34:05 he Exp $
 
 LIB=dns
 
@@ -12,6 +12,12 @@
 .PATH.c:       ${DIST}/unix ${DIST}/sec/dst ${DIST}
 CPPFLAGS+=-I${.CURDIR}/../include/dns -I${DIST}
 
+# XXX
+.if ${MACHINE_CPU} == "sh5"
+COPTS.rbtdb.c=         -O1
+COPTS.rbtdb64.c=       -O1
+.endif
+
 DNSSEC_SRCS=   dst_api.c dst_lib.c dst_parse.c dst_result.c \
        gssapi_link.c gssapictx.c hmac_link.c key.c openssl_link.c \
        openssldh_link.c openssldsa_link.c opensslrsa_link.c



Home | Main Index | Thread Index | Old Index