From: PHO Date: Mon, 21 Jun 2010 05:46:56 +0000 (+0900) Subject: rts -O0 X-Git-Tag: GHC-6.12.3~2 X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=pkgsrc-ghc.git;a=commitdiff_plain;h=6e205396f71e30a30a9b4586ce07b46ce7bad7ae rts -O0 --- diff --git a/Makefile b/Makefile index d7542a9..ae6de05 100644 --- a/Makefile +++ b/Makefile @@ -148,10 +148,10 @@ do-configure: ${RUN} ${ECHO} "HSCOLOUR_SRCS = NO" >> ${WRKSRC}/mk/build.mk # To avoid powerpc crash... # See http://hackage.haskell.org/trac/ghc/ticket/4034 -#.if ${MACHINE_ARCH} == "powerpc" && ${OPSYS} == "Darwin" -# ${RUN} ${ECHO} "GhcRtsHcOpts = -optc-O0 -optc-g" >> ${WRKSRC}/mk/build.mk -# ${RUN} ${ECHO} "GhcRtsCcOpts = -O0 -g" >> ${WRKSRC}/mk/build.mk -#.endif +.if ${MACHINE_ARCH} == "powerpc" && ${OPSYS} == "Darwin" + ${RUN} ${ECHO} "GhcRtsHcOpts = -optc-O0 -optc-g" >> ${WRKSRC}/mk/build.mk + ${RUN} ${ECHO} "GhcRtsCcOpts = -O0 -g" >> ${WRKSRC}/mk/build.mk +.endif pre-build: # We have to sacrifice the GHCi library for GHC itself to work around