summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorkristerw <kristerw>2001-12-08 18:46:26 +0000
committerkristerw <kristerw>2001-12-08 18:46:26 +0000
commit8f10dfca7951b106c47c6a06bee2b901d9b2eafa (patch)
tree2f951189babdaafc103f7487b036f8bdb9f927f7 /print
parent8a0712488c8127059f7f01fed6a9baaa9292e539 (diff)
downloadpkgsrc-8f10dfca7951b106c47c6a06bee2b901d9b2eafa.tar.gz
Make this build for arm.
Arm has a compiler bug that was worked around by removing the -O2 from CFLAGS. That workaround did unfortunately remove the buildlink include paths too.
Diffstat (limited to 'print')
-rw-r--r--print/ghostscript-nox11/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/print/ghostscript-nox11/Makefile.common b/print/ghostscript-nox11/Makefile.common
index ed173489b88..7c585efdc02 100644
--- a/print/ghostscript-nox11/Makefile.common
+++ b/print/ghostscript-nox11/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.22 2001/12/02 21:29:21 wiz Exp $
+# $NetBSD: Makefile.common,v 1.23 2001/12/08 18:46:26 kristerw Exp $
DISTNAME= ghostscript-${GS_VERS}
GS_VERS= 6.01
@@ -101,7 +101,7 @@ ALL_TARGET= std
# arm32 compiler has an optimizer problem
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "arm32"
-CFLAGS=
+CFLAGS+= -O0
.endif
.if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4")