summaryrefslogtreecommitdiff
path: root/rules/build-package-data.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2012-06-29 19:26:14 +0100
committerIan Lynagh <igloo@earth.li>2012-06-29 19:26:14 +0100
commita63970d09627ba75a58316d6779cfe7b7e466da8 (patch)
tree1fc15ca7e0c3a854f45fa2d2c6d5e3fe08243d8f /rules/build-package-data.mk
parent6c29fad6a1ab20e8cfed5ad4af406a821ee74291 (diff)
downloadhaskell-a63970d09627ba75a58316d6779cfe7b7e466da8.tar.gz
Build fixes
Diffstat (limited to 'rules/build-package-data.mk')
-rw-r--r--rules/build-package-data.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/build-package-data.mk b/rules/build-package-data.mk
index 25b27741e3..2a6bf673e2 100644
--- a/rules/build-package-data.mk
+++ b/rules/build-package-data.mk
@@ -18,11 +18,11 @@ $(call profStart, build-package-data($1,$2,$3))
# $2 = distdir
# $3 = GHC stage to use (0 == bootstrapping compiler)
-ifeq "$$(filter p,$$(GhcLibWays))" "p"
+ifeq "$$(filter p,$$($1_$2_WAYS))" "p"
$1_$2_CONFIGURE_OPTS += --enable-library-profiling
endif
-ifeq "$$(filter dyn,$$(GhcLibWays))" "dyn"
+ifeq "$$(filter dyn,$$($1_$2_WAYS)))" "dyn"
$1_$2_CONFIGURE_OPTS += --enable-shared
endif