ghc_ge_605 is now always YES
[ghc-hetmet.git] / mk / config.mk.in
index 22c6f92..a178d2a 100644 (file)
@@ -247,7 +247,7 @@ GhcStage3HcOpts=-O2
 
 GhcProfiled=NO
 GhcDebugged=NO
-GhcLibProfiled=NO
+GhcLibProfiled=$(if $(filter p,$(GhcLibWays)),YES,NO)
 
 # Build shared and/or static libs?
 BuildSharedLibs=@BuildSharedLibs@
@@ -398,7 +398,7 @@ GhcRTSWays += debug
 endif
 
 ifeq "$(BuildSharedLibs)" "YES"
-GhcRTSWays += debug_dyn thr_dyn thr_debug_dyn
+GhcRTSWays += dyn debug_dyn thr_dyn thr_debug_dyn
 endif
 
 # Want the threaded versions unless we're unregisterised
@@ -929,14 +929,12 @@ GhcPatchLevel     = @ProjectPatchLevel@
 GhcMajVersion  = @GhcMajVersion@
 GhcMinVersion  = @GhcMinVersion@
 
-ghc_ge_605 = YES
 ghc_ge_607 = YES
 ghc_ge_609 = YES
 
 else # not UseStage1 or BootingFromHc
 
 # Some useful GHC version predicates:
-ghc_ge_605 = @ghc_ge_605@
 ghc_ge_607 = @ghc_ge_607@
 ghc_ge_609 = @ghc_ge_609@