# overall build type, and then tweak the options in the relevant section
# below.
-BuildFlavour = devel
+# Uncomment one of these to select a build profile below:
+
+#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
+# 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
GhcCompilerWays =
-FptoolsHcOpts = -H32m $(MyWarningOpts)
+SRC_HC_OPTS = -H32m -O0 $(MyWarningOpts)
GhcHcOpts = -Rghc-timing -DDEBUG
-GhcLibHcOpts = -dcore-lint -O -H32m $(MyWarningOpts) -keep-hc-files
+GhcLibHcOpts = -O -dcore-lint $(MyWarningOpts) -keep-hc-files
GhcLibWays =
-# Debugging RTS
-GhcRtsHcOpts = -optc-DDEBUG
-GhcRtsCcOpts = -g
-SRC_HC_OPTS += -lbfd -liberty
-
# profiled RTS
#GhcRtsCcOpts = -pg -g
ifeq "$(BuildFlavour)" "perf"
-FptoolsHcOpts = -H32m -O $(MyWarningOpts)
+SRC_HC_OPTS = -H32m -O $(MyWarningOpts)
GhcHcOpts = -Rghc-timing
-GhcLibHcOpts = -H32m -O $(MyWarningOpts)
+GhcLibHcOpts =
GhcLibWays = p