forked from Mirrors/wine-wine
configure: Set the target flags from the --host option even if cross-compiling is not detected.
parent
c891f6bca7
commit
0fea4a5037
|
@ -3943,9 +3943,9 @@ fi
|
||||||
$as_echo "$wine_cv_toolsdir" >&6; }
|
$as_echo "$wine_cv_toolsdir" >&6; }
|
||||||
TOOLSDIR=$wine_cv_toolsdir
|
TOOLSDIR=$wine_cv_toolsdir
|
||||||
|
|
||||||
if test "$cross_compiling" = "yes"
|
if test -n "$host_alias"
|
||||||
then
|
then
|
||||||
TARGETFLAGS="-b $host_alias"
|
TARGETFLAGS="-b $host_alias $TARGETFLAGS"
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
|
@ -169,9 +169,9 @@ AC_CACHE_CHECK([for the directory containing the Wine tools], wine_cv_toolsdir,
|
||||||
AC_MSG_ERROR([could not find Wine tools in $with_wine_tools.])
|
AC_MSG_ERROR([could not find Wine tools in $with_wine_tools.])
|
||||||
fi])
|
fi])
|
||||||
AC_SUBST(TOOLSDIR,$wine_cv_toolsdir)
|
AC_SUBST(TOOLSDIR,$wine_cv_toolsdir)
|
||||||
if test "$cross_compiling" = "yes"
|
if test -n "$host_alias"
|
||||||
then
|
then
|
||||||
AC_SUBST(TARGETFLAGS,"-b $host_alias")
|
AC_SUBST(TARGETFLAGS,"-b $host_alias $TARGETFLAGS")
|
||||||
fi
|
fi
|
||||||
|
|
||||||
dnl Check for flex
|
dnl Check for flex
|
||||||
|
|
Loading…
Reference in New Issue