configure: Don't set target flags if build and host are the same.
This commit is contained in:
parent
95251a78e8
commit
4d135d9a71
|
@ -3943,7 +3943,7 @@ fi
|
||||||
$as_echo "$wine_cv_toolsdir" >&6; }
|
$as_echo "$wine_cv_toolsdir" >&6; }
|
||||||
TOOLSDIR=$wine_cv_toolsdir
|
TOOLSDIR=$wine_cv_toolsdir
|
||||||
|
|
||||||
if test -n "$host_alias"
|
if test -n "$host_alias" -a "$host_alias" != "$build_alias"
|
||||||
then
|
then
|
||||||
TARGETFLAGS="-b $host_alias $TARGETFLAGS"
|
TARGETFLAGS="-b $host_alias $TARGETFLAGS"
|
||||||
|
|
||||||
|
|
|
@ -169,7 +169,7 @@ 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 -n "$host_alias"
|
if test -n "$host_alias" -a "$host_alias" != "$build_alias"
|
||||||
then
|
then
|
||||||
AC_SUBST(TARGETFLAGS,"-b $host_alias $TARGETFLAGS")
|
AC_SUBST(TARGETFLAGS,"-b $host_alias $TARGETFLAGS")
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue