diff options
author | Moritz Angermann <moritz.angermann@gmail.com> | 2017-09-26 00:19:06 +0100 |
---|---|---|
committer | Tamar Christina <tamar@zhox.com> | 2017-09-26 00:20:16 +0100 |
commit | abca29f3f3e19c4af452c1714be1bf33f4ac9180 (patch) | |
tree | bfa8cc68ab3f18aebcb8ae3353d93f7c92c7bc6e /aclocal.m4 | |
parent | c839c57ed372203b05407b2042d00c188af75310 (diff) | |
download | haskell-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.m4 | 4 |
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]) |