X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FMakefile.local;h=27f65ef4be20217fe99735be4fd363d840257dc4;hb=d7b36bbbcd56ee14656223d02e32f5a1f52ea17b;hp=1d5345114b9afe8b984675987b888d061b2fd49b;hpb=9412e62942ebab0599c7fb0b358a9d4869647b67;p=ghc-hetmet.git diff --git a/compiler/Makefile.local b/compiler/Makefile.local index 1d53451..27f65ef 100644 --- a/compiler/Makefile.local +++ b/compiler/Makefile.local @@ -23,6 +23,11 @@ GHC_OPTS += $(GhcStage$(stage)HcOpts) GHC_OPTS += $(addprefix -optc, $(MACOSX_DEPLOYMENT_CC_OPTS)) LIB_LD_OPTS += $(addprefix -optl, $(MACOSX_DEPLOYMENT_LD_OPTS)) +# Work around a bug "splitTyConApp e1{tv a2iZ}" in 6.4.2: +ifeq "$(ghc_ge_605)" "NO" +dist-stage1/build/IOEnv.o: GHC_OPTS += -O0 +endif + # XXX These didn't work in the old build system, according to the # comment at least. We should actually handle them properly at some # point: