Source-Changes-HG archive

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

[src/trunk]: src/lib/libbz2 Work around compiler problem on VAX by building w...



details:   https://anonhg.NetBSD.org/src/rev/58d3c1c427b0
branches:  trunk
changeset: 533333:58d3c1c427b0
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jun 27 21:03:37 2002 +0000

description:
Work around compiler problem on VAX by building with -O0 on that
platform.

diffstat:

 lib/libbz2/Makefile |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (32 lines):

diff -r e31fcf0cc337 -r 58d3c1c427b0 lib/libbz2/Makefile
--- a/lib/libbz2/Makefile       Thu Jun 27 20:44:08 2002 +0000
+++ b/lib/libbz2/Makefile       Thu Jun 27 21:03:37 2002 +0000
@@ -1,4 +1,6 @@
-#      $NetBSD: Makefile,v 1.7 2002/03/15 01:50:40 mjl Exp $
+#      $NetBSD: Makefile,v 1.8 2002/06/27 21:03:37 thorpej Exp $
+
+.include <bsd.own.mk>
 
 LIB=           bz2
 NOMAN=         # defined
@@ -13,6 +15,11 @@
 TEXINFO=       bzip2.info
 CLEANFILES+=   bzip2.texi
 
+# XXX huffman.c gets mis-compiled with 2.95.3
+.if ${MACHINE_ARCH} == "vax"
+COPTS+=                -O0
+.endif
+
 bzip2.texi: manual.texi
        @-rm -f $@
        sed -e 's/@parindent.*//' \
@@ -22,8 +29,6 @@
            -e 's/@bf{\(.*\)}/\1/' \
            <$> >$@
 
-.include <bsd.own.mk>
-
 .if ${MKSHARE} != "no"
 FILESDIR=      ${HTMLDOCDIR}/bzip2
 FILES=         manual_toc.html manual_1.html manual_2.html manual_3.html \



Home | Main Index | Thread Index | Old Index