From 56acee7249a4d81bea47739954b4a77e152d727b Mon Sep 17 00:00:00 2001 From: kristerw Date: Sat, 8 Dec 2001 21:15:47 +0000 Subject: 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}. --- print/ghostscript-nox11/Makefile.common | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'print/ghostscript-nox11') 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 -- cgit v1.2.3