From 812cf9721efb450a39e53840f379a28510e08c40 Mon Sep 17 00:00:00 2001 From: lesi Date: Sat, 30 Jul 2005 17:48:41 +0000 Subject: Fix typo that caused compilation error on ia64 and fix a comment. Reported by: pointyhat via kris Submitted by: Alejandro Pulver (maintainer) --- games/exmars/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'games') diff --git a/games/exmars/Makefile b/games/exmars/Makefile index 8f27e09ea025..29e87cfc8ae0 100644 --- a/games/exmars/Makefile +++ b/games/exmars/Makefile @@ -36,7 +36,7 @@ do-install: BADCFLAGS+= -malign-double .endif -.if ${ARCH} != "amd64" && ${ARCH} != "ia64" +.if ${ARCH} != "amd64" && ${ARCH} != "i386" BADCFLAGS+= -maccumulate-outgoing-args \ -minline-all-stringops \ -mno-align-stringops @@ -53,8 +53,10 @@ post-patch: s|\./exmars|exmars|' \ ${WRKSRC}/bench.sh -# Enable/disable compilation optimizations +# Fix Makefile @${REINPLACE_CMD} -e 's|\($${OPT}\)|${CFLAGS} \1|' ${WRKSRC}/${MAKEFILE} + +# Enable/disable compilation optimizations .if !defined(WITH_OPTIMIZED_CFLAGS) || ${OSVERSION} < 500035 @${REINPLACE_CMD} -e 's|$${OPT}||' ${WRKSRC}/${MAKEFILE} .endif -- cgit