Skip to content

Commit 61dfc05

Browse files
committed
SKIP: Cygwin: workaround for building MinGW tools when cross-compiling
1 parent 156392b commit 61dfc05

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

winsup/configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ if test -z "$XMLTO"; then
118118
fi
119119

120120
if test "x$with_cross_bootstrap" != "xyes"; then
121-
AC_CHECK_PROGS(MINGW_CXX, ${target_cpu}-w64-mingw32-g++)
121+
AC_CHECK_PROGS(MINGW_CXX, ${build_cpu}-w64-mingw32-g++)
122122
test -n "$MINGW_CXX" || AC_MSG_ERROR([no acceptable MinGW g++ found in \$PATH])
123-
AC_CHECK_PROGS(MINGW_CC, ${target_cpu}-w64-mingw32-gcc)
123+
AC_CHECK_PROGS(MINGW_CC, ${build_cpu}-w64-mingw32-gcc)
124124
test -n "$MINGW_CC" || AC_MSG_ERROR([no acceptable MinGW gcc found in \$PATH])
125125
fi
126126
AM_CONDITIONAL(CROSS_BOOTSTRAP, [test "x$with_cross_bootstrap" != "xyes"])

0 commit comments

Comments
 (0)