summaryrefslogtreecommitdiff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-rw-r--r--compiler/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/Makefile b/compiler/Makefile
index 9a71d74c93..d2195c74a1 100644
--- a/compiler/Makefile
+++ b/compiler/Makefile
@@ -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