summaryrefslogtreecommitdiff
path: root/utils/genapply/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-05-25 14:42:16 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-05-25 14:42:16 +0000
commitc91a5a536591d33ad668d3f0f30efa374f41ca5d (patch)
tree89fa8beff5eeb23db962466673d52d2a508becab /utils/genapply/Makefile
parent8c7bea375782d8566d942bca51d1772f7c55a819 (diff)
downloadhaskell-c91a5a536591d33ad668d3f0f30efa374f41ca5d.tar.gz
-package pretty is required for GHC >= 6.7
Diffstat (limited to 'utils/genapply/Makefile')
-rw-r--r--utils/genapply/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/utils/genapply/Makefile b/utils/genapply/Makefile
index 39903cf584..9657fc9450 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