summaryrefslogtreecommitdiff
path: root/rules/build-package.mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-05-04 22:50:35 +0000
committerIan Lynagh <igloo@earth.li>2010-05-04 22:50:35 +0000
commit2f7dc066ab1812a945c1cd6bc7b9a3e3011432b8 (patch)
tree96edae680dba49fdb80308580fcb13c02d919ee1 /rules/build-package.mk
parent4aa564abca9eb7aa75b6b77bd19c0c1e8fd828a4 (diff)
downloadhaskell-2f7dc066ab1812a945c1cd6bc7b9a3e3011432b8.tar.gz
In build system, call package-config after including package data
Otherwise the $1_$2_HC_OPTS variable gets clobbered.
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r--rules/build-package.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk
index f8c48134f6..9d1629d49a 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -80,12 +80,12 @@ endif
# --- CONFIGURATION
-$(call package-config,$1,$2,$3)
-
ifneq "$$(NO_INCLUDE_PKGDATA)" "YES"
include $1/$2/package-data.mk
endif
+$(call package-config,$1,$2,$3)
+
ifeq "$$($1_$2_DISABLE)" "YES"
ifeq "$$(DEBUG)" "YES"