summaryrefslogtreecommitdiff
path: root/mk/build.mk.sample
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-09-18 23:29:24 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-09-18 23:29:24 +0000
commitdbeedb1e510b750d87c542ec1755bf41b41ee3e9 (patch)
tree69a47d809cdb42d167fbfbcae5edd21ff70c2ae0 /mk/build.mk.sample
parent6c1a6b200ba91f6dfb41711d65e824529079ca0a (diff)
downloadhaskell-dbeedb1e510b750d87c542ec1755bf41b41ee3e9.tar.gz
some updates
Diffstat (limited to 'mk/build.mk.sample')
-rw-r--r--mk/build.mk.sample19
1 files changed, 9 insertions, 10 deletions
diff --git a/mk/build.mk.sample b/mk/build.mk.sample
index b0b66d3478..8541e51c48 100644
--- a/mk/build.mk.sample
+++ b/mk/build.mk.sample
@@ -10,12 +10,6 @@
#BuildFlavour = devel
#BuildFlavour = perf
-# -------- Misc. settings -----------------------------------------------------
-
-# Not necessary to set this, but useful if you have other projects checked-out
-# in your source tree:
-# ProjectsToBuild = glafp-utils ghc libraries hslibs
-
# Which warnings we like to use
MyWarningOpts = -W -fno-warn-unused-matches -fwarn-unused-imports
@@ -25,10 +19,15 @@ ifeq "$(BuildFlavour)" "devel"
GhcCompilerWays =
-SRC_HC_OPTS = -H32m -O0 $(MyWarningOpts)
-GhcHcOpts = -Rghc-timing -DDEBUG
-GhcLibHcOpts = -O -dcore-lint $(MyWarningOpts) -keep-hc-files
-GhcLibWays =
+SRC_HC_OPTS = -H32m -O -fasm $(MyWarningOpts)
+GhcLibHcOpts = -O -dcore-lint $(MyWarningOpts)
+GhcLibWays =
+
+# If you're working on the stage1 compiler, build stage1 with debugging:
+GhcStage1HcOpts = -Rghc-timing -O0 -DDEBUG
+
+# alternatively, to work on the stage 2 compiler:
+# GhcStage2HcOpts = -Rghc-timing -O0 -DDEBUG
# profiled RTS
#GhcRtsCcOpts = -pg -g