summaryrefslogtreecommitdiff
path: root/utils/ghc-pkg/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-02-06 00:32:32 +0000
committerIan Lynagh <igloo@earth.li>2007-02-06 00:32:32 +0000
commit373b03fe979abe898a387e02ca22007b768e343e (patch)
tree4933a153e01a03dfd3c325e763986e9f93b201de /utils/ghc-pkg/Makefile
parent001d6ffda6a509c6349f6644df10e8fcf270d218 (diff)
downloadhaskell-373b03fe979abe898a387e02ca22007b768e343e.tar.gz
Don't use compat when compiling utils with stage1
Diffstat (limited to 'utils/ghc-pkg/Makefile')
-rw-r--r--utils/ghc-pkg/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/ghc-pkg/Makefile b/utils/ghc-pkg/Makefile
index f30b08772b..19d5a12aff 100644
--- a/utils/ghc-pkg/Makefile
+++ b/utils/ghc-pkg/Makefile
@@ -12,6 +12,8 @@ SRC_HC_OPTS += -cpp -Wall -fno-warn-name-shadowing -fno-warn-unused-matches
# This causes libghccompat.a to be used:
include $(GHC_COMPAT_DIR)/compat.mk
+SRC_HC_OPTS += $(PACKAGE_CABAL)
+
# This is required because libghccompat.a must be built with
# $(GhcHcOpts) because it is linked to the compiler, and hence
# we must also build with $(GhcHcOpts) here: