Add --supported-languages support to dummy-ghc
authorIan Lynagh <igloo@earth.li>
Tue, 6 Oct 2009 20:14:15 +0000 (20:14 +0000)
committerIan Lynagh <igloo@earth.li>
Tue, 6 Oct 2009 20:14:15 +0000 (20:14 +0000)
commit49fb21e21496611dc2ccfd311e2b64fc4eb93023
tree1459dba8e480b03910f48c1863ce8716837b184b
parentf0bc4086b3b8447792b2d7f2fbfc9232826f4f14
Add --supported-languages support to dummy-ghc
We used to call the bootstrapping compiler to get its --supported-languages
but that doesn't work when it doesn't support all the extensions that we
need. In particular, compiling the new bytestring which needs NamedFieldPuns
broken when building with 6.8.2.
There's now a rather ugly sed script to extract the extensions from
DynFlags.hs.
utils/ghc-cabal/ghc.mk