summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorkristerw <kristerw>2001-12-08 21:15:47 +0000
committerkristerw <kristerw>2001-12-08 21:15:47 +0000
commit424a97534b5a7c86f582ae625c802ae05ed269b6 (patch)
treefb6046a5bd1fc7796d94ef7f8b8f276d8b41814c /print
parent8f10dfca7951b106c47c6a06bee2b901d9b2eafa (diff)
downloadpkgsrc-424a97534b5a7c86f582ae625c802ae05ed269b6.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')
-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