diff options
author | Ian Lynagh <igloo@earth.li> | 2012-06-29 19:26:14 +0100 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2012-06-29 19:26:14 +0100 |
commit | a63970d09627ba75a58316d6779cfe7b7e466da8 (patch) | |
tree | 1fc15ca7e0c3a854f45fa2d2c6d5e3fe08243d8f /rules/build-package-data.mk | |
parent | 6c29fad6a1ab20e8cfed5ad4af406a821ee74291 (diff) | |
download | haskell-a63970d09627ba75a58316d6779cfe7b7e466da8.tar.gz |
Build fixes
Diffstat (limited to 'rules/build-package-data.mk')
-rw-r--r-- | rules/build-package-data.mk | 4 |
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 |