[Git][ghc/ghc][wip/hadrian-windows-bindist] Move setup earlier
Matthew Pickering (@mpickering)
gitlab at gitlab.haskell.org
Mon Aug 14 13:04:30 UTC 2023
Matthew Pickering pushed to branch wip/hadrian-windows-bindist at Glasgow Haskell Compiler / GHC
Commits:
20b6c71a by Matthew Pickering at 2023-08-14T14:04:23+01:00
Move setup earlier
- - - - -
1 changed file:
- distrib/configure.ac.in
Changes:
=====================================
distrib/configure.ac.in
=====================================
@@ -103,6 +103,10 @@ AC_ARG_ENABLE(distro-toolchain,
[EnableDistroToolchain=@SettingsUseDistroMINGW@]
)
+if test "$HostOS" = "mingw32" -a "$EnableDistroToolchain" = "NO"; then
+ FP_SETUP_WINDOWS_TOOLCHAIN(["$$topdir/../mingw/"])
+fi
+
dnl ** Which gcc to use?
dnl --------------------------------------------------------------
AC_PROG_CC([gcc clang])
@@ -289,9 +293,6 @@ fi
AC_SUBST(UseLibdw)
-if test "$HostOS" = "mingw32" -a "$EnableDistroToolchain" = "NO"; then
- FP_SETUP_WINDOWS_TOOLCHAIN(["$$topdir/../mingw/"])
-fi
FP_SETTINGS
AC_CONFIG_FILES([config.mk])
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/20b6c71a97ea5abf7db3f088da80b4fd30cd9c8a
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/20b6c71a97ea5abf7db3f088da80b4fd30cd9c8a
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230814/595bbf84/attachment.html>
More information about the ghc-commits
mailing list