summaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
Diffstat (limited to 'compat')
-rw-r--r--compat/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/compat/Makefile b/compat/Makefile
index 9d85c5cd17..0e24ccb73b 100644
--- a/compat/Makefile
+++ b/compat/Makefile
@@ -62,9 +62,10 @@ SRC_MKDEPENDHS_OPTS += \
# GHC 6.3+ has Cabal, but we're replacing it:
SRC_HC_OPTS += -ignore-package Cabal
-endif
+# only GHC 6.3+ has -ignore-package
SRC_HC_OPTS += -ignore-package filepath
+endif
# Some explicit dependencies, needed because ghc -M can't discover the
# true dependencies of these stub files.