From 54c878959a817498a3c5e712c65663669ecd4e0d Mon Sep 17 00:00:00 2001 From: panne Date: Sun, 5 May 2002 19:40:51 +0000 Subject: [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. --- src/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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" -- cgit v1.2.3