summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
authorDuncan Coutts <duncan@well-typed.com>2009-05-19 12:09:53 +0000
committerDuncan Coutts <duncan@well-typed.com>2009-05-19 12:09:53 +0000
commit4e340bbb54087a3a5b12afc6e2ad3664ec4beed3 (patch)
treebea10c8fd7ae41f8bc65ae20233e7318fcbb79f3 /rules
parent988bfabb5e8a3a743d03e57f2f25ca1008c6e6f1 (diff)
downloadhaskell-4e340bbb54087a3a5b12afc6e2ad3664ec4beed3.tar.gz
Pass --enable-shared and --with-hscolour to ghc-cabal configure
It tried to do this already, but the make variable name was wrong.
Diffstat (limited to 'rules')
-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 53621ed1f8..38a9620e33 100644
--- a/rules/build-package-data.mk
+++ b/rules/build-package-data.mk
@@ -13,11 +13,11 @@
define build-package-data # args: $1 = dir, $2 = distdir
ifeq "$(BuildSharedLibs)" "YES"
-$1_$2_CONFIGURE_FLAGS += --enable-shared
+$1_$2_CONFIGURE_OPTS += --enable-shared
endif
ifeq "$(HSCOLOUR_SRCS)" "YES"
-$1_$2_CONFIGURE_FLAGS += --with-hscolour="$$(HSCOLOUR)"
+$1_$2_CONFIGURE_OPTS += --with-hscolour="$$(HSCOLOUR)"
endif
# This rule configures the package, generates the package-data.mk file