FIX BUILD with ghc-6.2.x
authorSimon Marlow <simonmar@microsoft.com>
Wed, 16 May 2007 08:07:49 +0000 (08:07 +0000)
committerSimon Marlow <simonmar@microsoft.com>
Wed, 16 May 2007 08:07:49 +0000 (08:07 +0000)
compat/Makefile

index 9d85c5c..0e24ccb 100644 (file)
@@ -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.