X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=compiler%2FMakefile;h=d2195c74a1b314c0248ebd81c9ca5074019b72a7;hb=5b87f4c4cdfb303d3d4c408ca94a9e94b644da5b;hp=e75be0c5265ca14cd7909ef22ff3b8a2b16f4ec1;hpb=2f8e954150d5eccd91567b1e2f21bb04f617f427;p=ghc-hetmet.git diff --git a/compiler/Makefile b/compiler/Makefile index e75be0c..d2195c7 100644 --- a/compiler/Makefile +++ b/compiler/Makefile @@ -615,7 +615,7 @@ endif SRC_HC_OPTS += -ignore-package lang SRC_CC_OPTS += -Iparser -I. -O -SRC_HC_OPTS += -recomp $(GhcHcOpts) $(GhcStage$(stage)HcOpts) +SRC_HC_OPTS += $(GhcHcOpts) $(GhcStage$(stage)HcOpts) SRC_HC_OPTS += -H16M ifeq "$(BootingFromHc)" "YES" @@ -637,8 +637,8 @@ parser/Parser_HC_OPTS += -fno-warn-incomplete-patterns # Careful optimisation of the parser: we don't want to throw everything # at it, because that takes too long and doesn't buy much, but we do want # to inline certain key external functions, so we instruct GHC not to -# throw away inlinings as it would normally do in -Onot mode: -parser/Parser_HC_OPTS += -Onot -fno-ignore-interface-pragmas +# throw away inlinings as it would normally do in -O0 mode: +parser/Parser_HC_OPTS += -O0 -fno-ignore-interface-pragmas ifeq "$(HOSTPLATFORM)" "hppa1.1-hp-hpux9" rename/RnMonad_HC_OPTS = -O2 -O2-for-C