]> gitweb @ CieloNegro.org - pkgsrc-ghc.git/blobdiff - files/bootstrap.mk
ghc-7.4.1 for x86_64-unknown-linux
[pkgsrc-ghc.git] / files / bootstrap.mk
index 64f5fd5523ade67f4f652c778776c841fdd254b1..80e9cca94bbb537097caf6c867a6f10f7d3bee14 100644 (file)
@@ -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