Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
39566061
Commit
39566061
authored
Sep 13, 2008
by
Ian Lynagh
Browse files
We need to tell ghc-pkg to --force if we've only built a profiling library
parent
9f7e3b78
Changes
1
Hide whitespace changes
Inline
Side-by-side
compiler/Makefile
View file @
39566061
...
...
@@ -146,11 +146,14 @@ ifneq "$(GhcLibProfiled) $(GhcProfiled)" "NO NO"
CONFIGURE_FLAGS_STAGE2
+=
--enable-library-profiling
# And if we're profiling GHC then we want lots of SCCs.
# We also don't want to waste time building the non-profiling library,
# either normally or for ghci.
# either normally or for ghci. Unfortunately this means that we have to
# tell ghc-pkg --force as it gets upset when libHSghc-6.9.a doesn't
# exist.
ifeq
"$(GhcProfiled)" "YES"
CONFIGURE_FLAGS_STAGE2
+=
--ghc-option
=
-auto-all
CONFIGURE_FLAGS_STAGE2
+=
--disable-library-vanilla
CONFIGURE_FLAGS_STAGE2
+=
--disable-library-for-ghci
CONFIGURE_FLAGS_STAGE2
+=
--ghc-pkg-option
=
--force
endif
endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment