X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=e8429e96523fe7b6b3209a115761f89305548c3e;hb=f5baf549bcd4b835fdc8e0ce00b854f522464e68;hp=22c6f921c5b0be9c5902f3b6b12e02d6f2095d4a;hpb=c7ad7938dc1d27a2471b0b803ac3e70102414a3d;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index 22c6f92..e8429e9 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -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