From c91a5a536591d33ad668d3f0f30efa374f41ca5d Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Fri, 25 May 2007 14:42:16 +0000 Subject: [PATCH] -package pretty is required for GHC >= 6.7 --- utils/genapply/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/utils/genapply/Makefile b/utils/genapply/Makefile index 39903cf..9657fc9 100644 --- a/utils/genapply/Makefile +++ b/utils/genapply/Makefile @@ -12,6 +12,10 @@ ifeq "$(GhcUnregisterised)" "YES" SRC_HC_OPTS += -DNO_REGS endif +ifeq "$(ghc_ge_607)" "YES" +SRC_HC_OPTS += -package pretty +endif + # Try to get dependencies right... SRC_HC_OPTS += -no-recomp GenApply.o : $(GHC_INCLUDE_DIR)/ghcconfig.h -- 1.7.10.4