Skip to content

Commit 0a257d3

Browse files
committed
Add support for mingw postfixed hosts.
1 parent 0e4290c commit 0a257d3

File tree

4 files changed

+83
-80
lines changed

4 files changed

+83
-80
lines changed

Changes

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,9 @@ Working version
274274
- #10647: Show hints for the "undefined global" error in the toplevel
275275
(Wiktor Kuchta, review by Gabriel Scherer)
276276

277+
- #11973: Add support for postfixed mingw host triplets
278+
(Romain Beauxis)
279+
277280
### Manual and documentation:
278281

279282
- #9430, #11291: Document the general desugaring rules for binding operators.

aclocal.m4

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@ int main (void) {
440440
AS_CASE([$enable_imprecise_c99_float_ops,$target],
441441
[no,*], [hard_error=true],
442442
[yes,*], [hard_error=false],
443-
[*,x86_64-w64-mingw32], [hard_error=false],
443+
[*,x86_64-w64-mingw32*], [hard_error=false],
444444
[hard_error=true])
445445
AS_IF([test x"$hard_error" = "xtrue"],
446446
[AC_MSG_ERROR(m4_normalize([
@@ -449,7 +449,7 @@ int main (void) {
449449
[AC_MSG_WARN(m4_normalize([
450450
round does not work; emulation enabled]))])],
451451
[AS_CASE([$target],
452-
[x86_64-w64-mingw32],[AC_MSG_RESULT([cross-compiling; assume not])],
452+
[x86_64-w64-mingw32*],[AC_MSG_RESULT([cross-compiling; assume not])],
453453
[AC_MSG_RESULT([cross-compiling; assume yes])
454454
AC_DEFINE([HAS_WORKING_ROUND])])])
455455
])
@@ -492,7 +492,7 @@ int main (void) {
492492
AS_CASE([$enable_imprecise_c99_float_ops,$target],
493493
[no,*], [hard_error=true],
494494
[yes,*], [hard_error=false],
495-
[*,x86_64-w64-mingw32|*,x86_64-*-cygwin*], [hard_error=false],
495+
[*,x86_64-w64-mingw32*|*,x86_64-*-cygwin*], [hard_error=false],
496496
[AS_CASE([$ocaml_cv_cc_vendor],
497497
[msvc-*], [AS_IF([test "${ocaml_cv_cc_vendor#msvc-}" -lt 1920 ],
498498
[hard_error=false],
@@ -505,7 +505,7 @@ int main (void) {
505505
[AC_MSG_WARN(m4_normalize([
506506
fma does not work; emulation enabled]))])],
507507
[AS_CASE([$target],
508-
[x86_64-w64-mingw32|x86_64-*-cygwin*],
508+
[x86_64-w64-mingw32*|x86_64-*-cygwin*],
509509
[AC_MSG_RESULT([cross-compiling; assume not])],
510510
[AC_MSG_RESULT([cross-compiling; assume yes])
511511
AC_DEFINE([HAS_WORKING_FMA])])])

configure

Lines changed: 40 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)