summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2001-12-08 18:46:26 +0000
committerkristerw <kristerw@pkgsrc.org>2001-12-08 18:46:26 +0000
commit40ea95814b1bb68b53e2b4a808dc3df7050e8d83 (patch)
tree2f951189babdaafc103f7487b036f8bdb9f927f7 /print
parent61eaa9aa37975a5dcbb2c5363e72e52759084780 (diff)
downloadpkgsrc-40ea95814b1bb68b53e2b4a808dc3df7050e8d83.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")