WithGhcHc = ghc-2.10
-# Unused, we think
-# WithGhcHcType=HC_GLASGOW_GHC
-
# Extra ways in which to build the compiler (for example, you might want to
# build a profiled compiler so you can see where it spends its time)
GhcCompilerWays=
# -O is pretty desirable, otherwise no inlining of prelude
# things (incl "+") happens when compiling with this compiler
-#
-# Splitting profiled code produces awfully large archives under ELF, so
-# we turn it off here.
-#
-# ToDo: track down the source of this.
-#
-ifeq "$(strip $(way))" "p"
-GhcLibHcOpts= -O
-else
-ifeq "$(strip $(way))" "mr"
-GhcLibHcOpts= -O
-else
ifeq "$(GhcWithHscBuiltViaC)" "YES"
GhcLibHcOpts=-O
else
GhcLibHcOpts=-O -split-objs -odir $*
endif
-endif
-endif
# Build the Haskell Readline bindings?
#
#
GhcLibsWithSockets=YES
+# Strip local symbols from libraries? This can make the libraries smaller,
+# but makes debugging somewhat more difficult. Doesn't work with all ld's.
+#
+StripLibraries=NO
+
# what to include in a binary distribution
GhcMainDir = ghc