diff options
author | Simon Marlow <simonmar@microsoft.com> | 2006-08-09 14:48:45 +0000 |
---|---|---|
committer | Simon Marlow <simonmar@microsoft.com> | 2006-08-09 14:48:45 +0000 |
commit | bc49cbd35e1b9a75ef05de610f845de7bbfef90d (patch) | |
tree | 23bce8b1f18d2509abb91d6c1e5850e882860ffa /utils | |
parent | c1a31d0d47994808ca7b8389a1d5d634b45d6755 (diff) | |
download | haskell-bc49cbd35e1b9a75ef05de610f845de7bbfef90d.tar.gz |
Where we use $(GhcHcOpts), also add $(GhcStage1HcOpts)
This fixes building the compiler with -prof in $(GhcStage1HcOpts)
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ghc-pkg/Makefile | 2 | ||||
-rw-r--r-- | utils/hsc2hs/Makefile | 2 | ||||
-rw-r--r-- | utils/runghc/Makefile | 2 |
3 files changed, 3 insertions, 3 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 diff --git a/utils/hsc2hs/Makefile b/utils/hsc2hs/Makefile index 0216983e08..7c34bbaf14 100644 --- a/utils/hsc2hs/Makefile +++ b/utils/hsc2hs/Makefile @@ -13,7 +13,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) HS_PROG = hsc2hs-bin ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32" diff --git a/utils/runghc/Makefile b/utils/runghc/Makefile index 90e4949530..c1a94c799a 100644 --- a/utils/runghc/Makefile +++ b/utils/runghc/Makefile @@ -13,7 +13,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) all :: runhaskell |