X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=files%2Fbootstrap.mk;h=80e9cca94bbb537097caf6c867a6f10f7d3bee14;hb=0f77a20d07ac42684cc03ecdea0028bea2941488;hp=64f5fd5523ade67f4f652c778776c841fdd254b1;hpb=9795cf147d263fd5fad5d40948bc965e9219dd64;p=pkgsrc-ghc.git diff --git a/files/bootstrap.mk b/files/bootstrap.mk index 64f5fd5..80e9cca 100644 --- a/files/bootstrap.mk +++ b/files/bootstrap.mk @@ -19,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