Fix Trac #2310: result type signatures are not supported any more
[ghc-hetmet.git] / mk / build.mk.sample
index 9384393..44b2537 100644 (file)
@@ -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
 
@@ -70,7 +74,7 @@ SRC_HC_OPTS     = -H64m -O -fasm $(MyWarningOpts)
 GhcLibHcOpts    = -O -dcore-lint $(MyWarningOpts)
 GhcLibWays      =
 GhcStage1HcOpts = -Rghc-timing -O0 -DDEBUG
-GhcStage2HcOpts = -Rghc-timing O -fasm
+GhcStage2HcOpts = -Rghc-timing -O -fasm
 SplitObjs = NO
 
 endif