X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=0feecbd7f76c23796379a2596309a7c5204372b8;hp=000b779b5d44689766f8e287a3fb96d5e563317e;hb=c5b41b6ee21f73ef706cd14eef2b6d6809099f9d;hpb=006a18ea83799c0d4255071a2f8c08d3e9c7d84f diff --git a/mk/config.mk.in b/mk/config.mk.in index 000b779..0feecbd 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -218,6 +218,14 @@ GhcStage1HcOpts= GhcStage2HcOpts= GhcStage3HcOpts= +ifneq "$(findstring thr, $(GhcRTSWays))" "" +GhcThreaded=YES +else +GhcThreaded=NO +endif +GhcProfiled=NO +GhcDebugged=NO + # Build a compiler that will build *unregisterised* libraries and # binaries by default. Unregisterised code is supposed to compile and # run without any support for architecture-specific assembly mangling, @@ -313,6 +321,8 @@ BuildingGranSim=$(subst mg,YES,$(filter mg,$(WAYS))) HscIfaceFileVersion=6 +MakefileDeps=YES + #------------------------------------------------------------------------------ # Options for Libraries