]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/commitdiff
rts -O0
authorPHO <pho@cielonegro.org>
Mon, 21 Jun 2010 05:46:56 +0000 (14:46 +0900)
committerPHO <pho@cielonegro.org>
Mon, 21 Jun 2010 05:46:56 +0000 (14:46 +0900)
Makefile

index d7542a97e1b4b5f4c885131718c40b32c1db49e4..ae6de059ef03e59ec893ff8469b6a033deec34f6 100644 (file)
--- 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