diff options
author | John Ericson <git@JohnEricson.me> | 2019-07-12 12:04:08 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-10-04 21:45:48 -0400 |
commit | dd8f76b2e3285f8d01d652c8fa8c28e37ea474de (patch) | |
tree | ac82ccd6feac34e0ee962b0559395f05ffb93821 /aclocal.m4 | |
parent | b538476be3706264620c072e6e436debf9e0d3e4 (diff) | |
download | haskell-dd8f76b2e3285f8d01d652c8fa8c28e37ea474de.tar.gz |
Factor out a smaller part of Platform for host fallback
Diffstat (limited to 'aclocal.m4')
-rw-r--r-- | aclocal.m4 | 4 |
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) |