summaryrefslogtreecommitdiff
path: root/utils/ghc-pkg/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2006-08-09 14:48:45 +0000
committerSimon Marlow <simonmar@microsoft.com>2006-08-09 14:48:45 +0000
commitbc49cbd35e1b9a75ef05de610f845de7bbfef90d (patch)
tree23bce8b1f18d2509abb91d6c1e5850e882860ffa /utils/ghc-pkg/Makefile
parentc1a31d0d47994808ca7b8389a1d5d634b45d6755 (diff)
downloadhaskell-bc49cbd35e1b9a75ef05de610f845de7bbfef90d.tar.gz
Where we use $(GhcHcOpts), also add $(GhcStage1HcOpts)
This fixes building the compiler with -prof in $(GhcStage1HcOpts)
Diffstat (limited to 'utils/ghc-pkg/Makefile')
-rw-r--r--utils/ghc-pkg/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/ghc-pkg/Makefile b/utils/ghc-pkg/Makefile
index 0e4d06f890..9ad63cb26f 100644
--- a/utils/ghc-pkg/Makefile
+++ b/utils/ghc-pkg/Makefile
@@ -15,7 +15,7 @@ include $(GHC_COMPAT_DIR)/compat.mk
# 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:
-SRC_HC_OPTS += $(GhcHcOpts)
+SRC_HC_OPTS += $(GhcHcOpts) $(GhcStage1HcOpts)
ifeq "$(ghc_ge_504)" "NO"
SRC_HC_OPTS += -package lang -package util -package text