X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=files%2Fbootstrap.mk;h=80e9cca94bbb537097caf6c867a6f10f7d3bee14;hb=0f77a20d07ac42684cc03ecdea0028bea2941488;hp=3c4e81342e071b5162885c8adf4734bfaa05c368;hpb=766787e93abcb3dc97d8c1a76dc2b746e5235b81;p=pkgsrc-ghc.git diff --git a/files/bootstrap.mk b/files/bootstrap.mk index 3c4e813..80e9cca 100644 --- a/files/bootstrap.mk +++ b/files/bootstrap.mk @@ -1,4 +1,7 @@ +OMIT_PHASE_0 = YES +OMIT_PHASE_1 = YES GHC = false +GHC_STAGE1 = GHC_PKG_INPLACE = GHC_CABAL_INPLACE = DUMMY_GHC_INPLACE = @@ -16,3 +19,9 @@ utils/ghc-pkg_dist-install_v_EXTRA_CC_OPTS += -L[[PREFIX]]/lib -lm -liconv -lncu SRC_CC_OPTS += -I[[PREFIX]]/include INTEGER_LIBRARY = integer-simple + +# Unregisterised stage0 compiler runs way too slow without GCC's +# optimisation. The stage1 (which is also unregisterised) is still +# slow, but then we have to append CONF_CC_OPTS_STAGE0="-O2" to +# CONFIGURE_ARGS as well. +EXTRA_CC_OPTS += -O2