X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=mk%2Fconfig.mk.in;h=7e8cc32430f41e9d9e2614cdbcbe1bdee2f19f9e;hb=aacbb9918d5458df0a64231bb55976679e471b91;hp=000b779b5d44689766f8e287a3fb96d5e563317e;hpb=006a18ea83799c0d4255071a2f8c08d3e9c7d84f;p=ghc-hetmet.git diff --git a/mk/config.mk.in b/mk/config.mk.in index 000b779..7e8cc32 100644 --- a/mk/config.mk.in +++ b/mk/config.mk.in @@ -218,6 +218,13 @@ GhcStage1HcOpts= GhcStage2HcOpts= GhcStage3HcOpts= +ifneq "$(findstring thr, $(GhcRTSWays))" "" +GhcThreaded=YES +else +GhcThreaded=NO +endif +GhcProfiled=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,