From 7aaad0812108d3e195ef5f537438f706505f5d0a Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Thu, 28 Aug 2008 14:23:20 +0000 Subject: [PATCH] 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. --- mk/validate-settings.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 1.7.10.4