summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-10-07 15:23:18 +0000
committerIan Lynagh <igloo@earth.li>2008-10-07 15:23:18 +0000
commit49fcef380f65b32ad03ce04171b6019ab48a714e (patch)
tree35e6c921dc3f897ffa943764b34453c6ee8c9885 /mk
parentf8eee63a43eb15e0025dc996a92db77d50fb2201 (diff)
downloadhaskell-49fcef380f65b32ad03ce04171b6019ab48a714e.tar.gz
Build a profiled GHC API by default if p is in GhcLibWays
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 22c6f921c5..59446a9d5d 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -247,7 +247,7 @@ GhcStage3HcOpts=-O2
GhcProfiled=NO
GhcDebugged=NO
-GhcLibProfiled=NO
+GhcLibProfiled=$(if $(filter p,$(GhcLibWays)),YES,NO)
# Build shared and/or static libs?
BuildSharedLibs=@BuildSharedLibs@