summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-09-25 11:42:19 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-04 21:47:47 -0400
commit8039b6257ce5288e9e38c2593ff2d5d6d316efd4 (patch)
treee621bb88c0cde7bc2ea6249fd3c9a9c32d058e7c /aclocal.m4
parent93f02b6223b8fc4d85ece389ac0520ee9cc20f2f (diff)
downloadhaskell-8039b6257ce5288e9e38c2593ff2d5d6d316efd4.tar.gz
Add musl systems to llvm-targets
This was done in Nixpkgs, but never upstreamed. Musl is pretty much the same as gnu, but with a different libc. I’ve used the same values for everything.
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index e3abb07202..2072a33b36 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -1977,7 +1977,7 @@ AC_DEFUN([GHC_LLVM_TARGET], [
# for the LLVM Target. Otherwise these would be
# turned into just `-linux` and fail to be found
# in the `llvm-targets` file.
- *-android*|*-gnueabi*)
+ *-android*|*-gnueabi*|*-musleabi*)
GHC_CONVERT_VENDOR([$2],[llvm_target_vendor])
llvm_target_os="$3"
;;