summaryrefslogtreecommitdiff
path: root/aclocal.m4
diff options
context:
space:
mode:
authorJohn Ericson <git@JohnEricson.me>2019-07-12 12:04:08 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2019-10-04 21:45:48 -0400
commitdd8f76b2e3285f8d01d652c8fa8c28e37ea474de (patch)
treeac82ccd6feac34e0ee962b0559395f05ffb93821 /aclocal.m4
parentb538476be3706264620c072e6e436debf9e0d3e4 (diff)
downloadhaskell-dd8f76b2e3285f8d01d652c8fa8c28e37ea474de.tar.gz
Factor out a smaller part of Platform for host fallback
Diffstat (limited to 'aclocal.m4')
-rw-r--r--aclocal.m44
1 files changed, 3 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index 6b96a7c084..e3abb07202 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -372,12 +372,14 @@ AC_DEFUN([FPTOOLS_SET_HASKELL_PLATFORM_VARS],
checkArch "$HostArch" "HaskellHostArch"
checkVendor "$HostVendor"
- checkOS "$HostOS" ""
+ checkOS "$HostOS" "HaskellHostOs"
checkArch "$TargetArch" "HaskellTargetArch"
checkVendor "$TargetVendor"
checkOS "$TargetOS" "HaskellTargetOs"
+ AC_SUBST(HaskellHostArch)
+ AC_SUBST(HaskellHostOs)
AC_SUBST(HaskellTargetArch)
AC_SUBST(HaskellTargetOs)
AC_SUBST(TargetHasSubsectionsViaSymbols)