From f7963d3f11e67375b8c6ecbd71e56f0d0ac262dd Mon Sep 17 00:00:00 2001
From: Simon Marlow <marlowsd@gmail.com>
Date: Tue, 20 May 2008 08:05:35 +0000
Subject: [PATCH] update the "perf" settings to match the default

---
 mk/build.mk.sample | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index 34d260a712a9..44b2537f67db 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -29,10 +29,14 @@ MyWarningOpts   = -W -fno-warn-unused-matches -fwarn-unused-imports
 
 ifeq "$(BuildFlavour)" "perf"
 
-SRC_HC_OPTS   = -H32m -O2
-GhcHcOpts     = -Rghc-timing
-GhcLibHcOpts  =
-GhcLibWays    = p
+# perf matches the default settings, repeated here for comparison:
+
+SRC_HC_OPTS     = -O -H64m
+GhcStage1HcOpts = -O -fasm
+GhcStage2HcOpts = -O2 -fasm
+GhcHcOpts       = -Rghc-timing
+GhcLibHcOpts    = -O2 -fgenerics
+GhcLibWays      = p
 
 endif
 
-- 
GitLab