[project @ 2000-04-21 15:48:38 by panne]
authorpanne <unknown>
Fri, 21 Apr 2000 15:48:38 +0000 (15:48 +0000)
committerpanne <unknown>
Fri, 21 Apr 2000 15:48:38 +0000 (15:48 +0000)
Further steps towards an empty build.mk:
   * GHC is now built with -O by default
   * hslibs/tools now use GhcLibToolsHcOpts, again -O by default

mk/config.mk.in

index 762aee8..a20a3b1 100644 (file)
@@ -168,7 +168,7 @@ GhcCompilerWays=
 #
 #      -dcore-lint     check the types after every pass of the compiler;
 #                      a pretty strong internal check
-GhcHcOpts=
+GhcHcOpts=-O
 
 # GhcWithHscBuiltViaC - build GHC compiler proper (\`hsc') from .hc files?
 GhcWithHscBuiltViaC=@BootingFromHc@
@@ -262,7 +262,10 @@ GhcRtsCcOpts=-O2 -optc-fomit-frame-pointer
 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?
 #