From: Ian Lynagh Date: Thu, 28 Aug 2008 14:23:20 +0000 (+0000) Subject: Turn on optimisation for stage2 when validating X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=7aaad0812108d3e195ef5f537438f706505f5d0a Turn on optimisation for stage2 when validating This brings my validate down from 22mins to 16 mins. Compiling stage2 takes longer, but we gain a faster haddock, faster running of the tests, and faster building of the utils to be installed. --- diff --git a/mk/validate-settings.mk b/mk/validate-settings.mk index 83995e5..2ad1546 100644 --- a/mk/validate-settings.mk +++ b/mk/validate-settings.mk @@ -6,7 +6,7 @@ SRC_CC_OPTS = $(WERROR) SRC_HC_OPTS = $(WERROR) -H64m -O0 -fasm GhcStage1HcOpts = -O -fasm -GhcStage2HcOpts = -O0 -fasm +GhcStage2HcOpts = -O -fasm GhcLibHcOpts = -O -fasm -dcore-lint GhcLibWays = SplitObjs = NO