summaryrefslogtreecommitdiff
path: root/rules/build-package.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rules/build-package.mk')
-rw-r--r--rules/build-package.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/build-package.mk b/rules/build-package.mk
index ccd1659c30..c97f8c4b2c 100644
--- a/rules/build-package.mk
+++ b/rules/build-package.mk
@@ -70,7 +70,7 @@ $(call package-config,$1,$2,$3)
ifeq "$3" "0"
$1_$2_WAYS = v
else
-$1_$2_WAYS = $$(GhcLibWays)
+$1_$2_WAYS = $$(filter-out $$($1_$2_EXCLUDED_WAYS),$$(GhcLibWays))
endif
# We must use a different dependency file if $(GhcLibWays) changes, so