-package pretty is required for GHC >= 6.7
authorSimon Marlow <simonmar@microsoft.com>
Fri, 25 May 2007 14:42:16 +0000 (14:42 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Fri, 25 May 2007 14:42:16 +0000 (14:42 +0000)
utils/genapply/Makefile

index 39903cf..9657fc9 100644 (file)
@@ -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