Kaydet (Commit) 7ced12c6 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Revert "set WINEGCC only when cross compiling"

WINEGCC is needed for the 'build' part of the configuration, and the build
part does not know anything of actually being setting up cross-compilation.

This reverts commit e7dec288.
üst eee01a68
......@@ -6106,8 +6106,8 @@ AC_SUBST(BUILD_EPM)
dnl ===================================================================
dnl We need winegcc when building MinGW build to be able to cross-build msi tools
dnl ===================================================================
AC_PATH_PROG(WINEGCC, winegcc)
if test "$WITH_MINGW" = "yes" -a "$PKGFORMAT" = "msi" ; then
AC_PATH_PROG(WINEGCC, winegcc)
if test "$WINEGCC" = ""; then
AC_MSG_ERROR([winegcc was not found, please install wine-devel, or wine-devel-32bit])
fi
......@@ -6122,7 +6122,6 @@ printf ("hello world\n");
)
CC="$CC_save"
fi
AC_SUBST(WINEGCC)
dnl ===================================================================
dnl Check for gperf
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment