projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdaa0b9
)
If we want a profiled GHC then use -auto-all when building the GHC lib
author
Ian Lynagh
<igloo@earth.li>
Sat, 30 Aug 2008 19:13:05 +0000
(19:13 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Sat, 30 Aug 2008 19:13:05 +0000
(19:13 +0000)
compiler/Makefile
patch
|
blob
|
history
diff --git
a/compiler/Makefile
b/compiler/Makefile
index
c511eeb
..
03f9c1e
100644
(file)
--- a/
compiler/Makefile
+++ b/
compiler/Makefile
@@
-165,6
+165,10
@@
endif
# profiling enabled (GhcProfiled = YES).
ifneq "$(GhcLibProfiled) $(GhcProfiled)" "NO NO"
CONFIGURE_FLAGS_STAGE2 += --enable-library-profiling
+# And if we're profiling GHC then we want lots of SCCs
+ifeq "$(GhcProfiled)" "YES"
+CONFIGURE_FLAGS_STAGE2 += --ghc-option=-auto-all
+endif
endif
ifeq "$(HOSTPLATFORM)" "i386-unknown-mingw32"