diff options
author | panne <unknown> | 2002-05-05 19:40:51 +0000 |
---|---|---|
committer | panne <unknown> | 2002-05-05 19:40:51 +0000 |
commit | 54c878959a817498a3c5e712c65663669ecd4e0d (patch) | |
tree | 487d9625ad2df7e1064641b0a6b8e8e6e81b2bd6 /src | |
parent | bacb5e33d4f2cb4f716567b8caebf5cdce0beabb (diff) |
[haddock @ 2002-05-05 19:40:51 by panne]
As a temporary hack/workaround for a bug in GHC's simplifier, don't
pass Happy the -c option for generating the parsers in this
subdir. Furthermore, disable -O for HaddocParse, too.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile index 609b39d4..ef235a24 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,10 +3,14 @@ include $(TOP)/mk/boilerplate.mk INSTALLING=1 +# NOTE: This is only a temporary workaround for a bug in GHC's simplifier! +GHC_HAPPY_OPTS = -ag + SRC_HC_OPTS += -package data -package text -package util -fglasgow-exts -cpp HS_PROG = haddock.bin -HsParser_HC_OPTS += -Onot +HsParser_HC_OPTS += -Onot +HaddockParse_HC_OPTS += -Onot HaddockVersion_HC_OPTS = -DHADDOCK_VERSION=$(ProjectVersion) ifeq "$(INSTALLING)" "1" |