summaryrefslogtreecommitdiff
path: root/print/ghostscript-nox11
diff options
context:
space:
mode:
authorkristerw <kristerw@pkgsrc.org>2001-12-08 21:15:47 +0000
committerkristerw <kristerw@pkgsrc.org>2001-12-08 21:15:47 +0000
commit56acee7249a4d81bea47739954b4a77e152d727b (patch)
treefb6046a5bd1fc7796d94ef7f8b8f276d8b41814c /print/ghostscript-nox11
parent40ea95814b1bb68b53e2b4a808dc3df7050e8d83 (diff)
downloadpkgsrc-56acee7249a4d81bea47739954b4a77e152d727b.tar.gz
Move the disabling of optimization for arm32 to below the inclusion of
bsd.pkg.mk so that we are sure that this is the last optimization flag passed by ${CFLAGS}.
Diffstat (limited to 'print/ghostscript-nox11')
-rw-r--r--print/ghostscript-nox11/Makefile.common12
1 files changed, 6 insertions, 6 deletions
diff --git a/print/ghostscript-nox11/Makefile.common b/print/ghostscript-nox11/Makefile.common
index 7c585efdc02..0798fe5034d 100644
--- a/print/ghostscript-nox11/Makefile.common
+++ b/print/ghostscript-nox11/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.23 2001/12/08 18:46:26 kristerw Exp $
+# $NetBSD: Makefile.common,v 1.24 2001/12/08 21:15:47 kristerw Exp $
DISTNAME= ghostscript-${GS_VERS}
GS_VERS= 6.01
@@ -99,11 +99,6 @@ ALL_TARGET= std
.include "../../graphics/png/buildlink.mk"
.include "../../japanese/vflib-lib/buildlink.mk"
-# arm32 compiler has an optimizer problem
-.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "arm32"
-CFLAGS+= -O0
-.endif
-
.if defined(PAPERSIZE) && (${PAPERSIZE} == "A4" || ${PAPERSIZE} == "a4")
CFLAGS+= -DA4
.endif
@@ -214,3 +209,8 @@ post-install:
${INSTALL_DATA} ${WRKDIR}/${MJC_DRV}/MJ700V2C.FAQ ${DOC_DIR}/${MJC_DRV}
.include "../../mk/bsd.pkg.mk"
+
+# arm32 compiler has an optimizer problem
+.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "arm32"
+CFLAGS+= -O0
+.endif