summaryrefslogtreecommitdiff
path: root/archivers/zip
diff options
context:
space:
mode:
authorgrant <grant>2003-06-01 01:57:16 +0000
committergrant <grant>2003-06-01 01:57:16 +0000
commit0c409ca0e609c7f5ba61bd3caf0ff9934e2b7018 (patch)
treebcfc88714d3ca2572b81dca00195ceab7ef20000 /archivers/zip
parentaa35855a6647ffa0990516cf200ef97ef9e078db (diff)
downloadpkgsrc-0c409ca0e609c7f5ba61bd3caf0ff9934e2b7018.tar.gz
turn off optimization to avoid an internal compiler error on powerpc.
Diffstat (limited to 'archivers/zip')
-rw-r--r--archivers/zip/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/archivers/zip/Makefile b/archivers/zip/Makefile
index 8e6767c8957..a347e2eeae9 100644
--- a/archivers/zip/Makefile
+++ b/archivers/zip/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2003/05/06 17:40:22 jmmv Exp $
+# $NetBSD: Makefile,v 1.33 2003/06/01 01:57:16 grant Exp $
# FreeBSD Id: Makefile,v 1.10 1997/04/27 16:06:15 ache Exp
#
@@ -21,6 +21,10 @@ MAKE_FLAGS= LOCAL_ZIP="${CFLAGS}" LFLAGS1="${_STRIPFLAG_CC}"
.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "powerpc"
+CFLAGS= -O0
+.endif
+
.if ${OPSYS} == "SunOS"
ALL_TARGET= generic_gcc
.else