summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorMoritz Angermann <moritz.angermann@gmail.com>2017-09-26 00:19:06 +0100
committerTamar Christina <tamar@zhox.com>2017-09-26 00:20:16 +0100
commitabca29f3f3e19c4af452c1714be1bf33f4ac9180 (patch)
treebfa8cc68ab3f18aebcb8ae3353d93f7c92c7bc6e /aclocal.m4
parentc839c57ed372203b05407b2042d00c188af75310 (diff)
downloadhaskell-abca29f3f3e19c4af452c1714be1bf33f4ac9180.tar.gz
Adds mingw64 to the valid GHC OSs.
Summary: This fixes hadrian#420 (https://github.com/snowleopard/hadrian/issues/420) specifically the "Unknown OS mingw64". Reviewers: austin, hvr, bgamari, Phyx Reviewed By: Phyx Subscribers: rwbarton, thomie, erikd Differential Revision: https://phabricator.haskell.org/D4016
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m44
1 files changed, 4 insertions, 0 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 754a13ad96..af84b6fc5e 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1899,6 +1899,10 @@ AC_DEFUN([GHC_LLVM_TARGET], [
llvm_target_vendor="unknown"
llvm_target_os="$3""hf"
;;
+ *-mingw32|*-mingw64)
+ llvm_target_vendor="unknown"
+ llvm_target_os="windows"
+ ;;
*)
GHC_CONVERT_VENDOR([$2],[llvm_target_vendor])
GHC_CONVERT_OS([$3],[$1],[llvm_target_os])