- echo "GhcHcOpts = -O -H32m -fvia-C -keep-hc-files" >> mk/config.mk
- echo "GhcWithNativeCodeGen = NO" >> mk/config.mk
+ touch mk/build.mk
+ # The bootstrapped compiler should probably generate unregisterised
+ # code too. If you don't want it to, then comment out this line:
+ echo "GhcUnregisterised = YES" >> mk/build.mk
+ echo "SRC_HC_OPTS += -keep-hc-file -fvia-C" >> mk/build.mk
+ echo "GhcWithNativeCodeGen = NO" >> mk/build.mk
+ echo "GhcWithInterpreter = NO" >> mk/build.mk