summaryrefslogtreecommitdiff
path: root/ghc.mk
diff options
context:
space:
mode:
authorThomas Miedema <thomasmiedema@gmail.com>2015-07-15 11:05:57 +0200
committerThomas Miedema <thomasmiedema@gmail.com>2015-07-18 01:05:22 +0200
commita0371c066f72b9cd4bb8f8ccad9bc4db6657c452 (patch)
tree2444d9aa94e8cd62334468853d6198150f22f8ab /ghc.mk
parentf607393b7ffa8a06417e3f1263d2610d6bfe8279 (diff)
downloadhaskell-a0371c066f72b9cd4bb8f8ccad9bc4db6657c452.tar.gz
Build system: fail when encountering an unknown package tag
Diffstat (limited to 'ghc.mk')
-rw-r--r--ghc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/ghc.mk b/ghc.mk
index db077bcce5..2a0adb9c53 100644
--- a/ghc.mk
+++ b/ghc.mk
@@ -444,7 +444,7 @@ ifeq "$$(BUILD_EXTRA_PKGS)" "YES"
PACKAGES_STAGE2 += $1
endif
else
-PACKAGES_STAGE2 += $1
+$$(error Unknown package tag: $2)
endif
endef
$(eval $(call foreachLibrary,addExtraPackage))