[commit: ghc] master: Build system: fail when encountering an unknown package tag (a0371c0)
git at git.haskell.org
git at git.haskell.org
Fri Jul 17 23:57:01 UTC 2015
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/a0371c066f72b9cd4bb8f8ccad9bc4db6657c452/ghc
>---------------------------------------------------------------
commit a0371c066f72b9cd4bb8f8ccad9bc4db6657c452
Author: Thomas Miedema <thomasmiedema at gmail.com>
Date: Wed Jul 15 11:05:57 2015 +0200
Build system: fail when encountering an unknown package tag
>---------------------------------------------------------------
a0371c066f72b9cd4bb8f8ccad9bc4db6657c452
ghc.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ghc.mk b/ghc.mk
index db077bc..2a0adb9 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))
More information about the ghc-commits
mailing list