Add pprDefiniteTrace and use it
[ghc-hetmet.git] / mk / build.mk.sample
index 5b61d16..a7764e2 100644 (file)
@@ -7,15 +7,17 @@
 
 # Uncomment one of these to select a build profile below:
 
-# Full build with max optimisation (slow build)
+# Full build with max optimisation and everything enabled (very slow build)
 #BuildFlavour = perf
 
-# Fastest build (libs unoptimised):
-#BuildFlavour = quickest
-
-# Fast build with optimised libraries:
+# Fast build with optimised libraries, no profiling (RECOMMENDED):
 #BuildFlavour = quick
 
+# Even faster build.  NOT RECOMMENDED: the libraries will be
+# completely unoptimised, so any code built with this compiler
+# (including stage2) will run very slowly:
+#BuildFlavour = quickest
+
 # Profile the stage2 compiler:
 #BuildFlavour = prof
 
@@ -40,6 +42,10 @@ GhcHcOpts       = -Rghc-timing
 GhcLibHcOpts    = -O2 -XGenerics
 GhcLibWays     += p
 
+ifeq "$(PlatformSupportsSharedLibs)" "YES"
+GhcLibWays += dyn
+endif
+
 endif
 
 # -------- A Fast build ------------------------------------------------------
@@ -141,4 +147,4 @@ endif
 
 # NoFib settings
 NoFibWays =
-STRIP=:
+STRIP_CMD = :