make GhcProfiled work, and add a "prof" flavour to build.mk
authorSimon Marlow <marlowsd@gmail.com>
Wed, 1 Jul 2009 11:42:11 +0000 (11:42 +0000)
committerSimon Marlow <marlowsd@gmail.com>
Wed, 1 Jul 2009 11:42:11 +0000 (11:42 +0000)
commit76c520c095eb2b9d75fb66050b91097c787f5279
tree4283324343becead1ac29c407b950ad816516cbb
parentfae43d78c5f7fdcdd236e187d07d140b9ad4e07c
make GhcProfiled work, and add a "prof" flavour to build.mk

Building a profiled GHC is as simple as adding

GhcLibWays += p
GhcProfiled = YES

to your build.mk and saying 'make'.  Then you have a profiled
inplace/bin/ghc-stage2.
ghc/ghc.mk
mk/build.mk.sample