Further steps towards an empty build.mk:
* GHC is now built with -O by default
* hslibs/tools now use GhcLibToolsHcOpts, again -O by default
#
# -dcore-lint check the types after every pass of the compiler;
# a pretty strong internal check
#
# -dcore-lint check the types after every pass of the compiler;
# a pretty strong internal check
# GhcWithHscBuiltViaC - build GHC compiler proper (\`hsc') from .hc files?
GhcWithHscBuiltViaC=@BootingFromHc@
# GhcWithHscBuiltViaC - build GHC compiler proper (\`hsc') from .hc files?
GhcWithHscBuiltViaC=@BootingFromHc@
HsLibsFor = ghc
# hslibs for GHC also uses the following variables (defined above):
HsLibsFor = ghc
# hslibs for GHC also uses the following variables (defined above):
-# GhcLibWays, GhcLibHcOpts, EnableWin32DLLs, StripLibraries
+# GhcLibWays, GhcLibHcOpts, GhcLibToolsHcOpts, EnableWin32DLLs, StripLibraries
+
+# Haskell compiler options for tools in hslibs
+GhcLibToolsHcOpts=-O
# Build the Haskell Readline bindings?
#
# Build the Haskell Readline bindings?
#