configure: Set the target flags from the --host option even if cross-compiling is not detected.
diff --git a/configure b/configure
index b4fd46f..fa79111 100755
--- a/configure
+++ b/configure
Binary files differ
diff --git a/configure.ac b/configure.ac
index 34650c8..57ec39d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -169,9 +169,9 @@
AC_MSG_ERROR([could not find Wine tools in $with_wine_tools.])
fi])
AC_SUBST(TOOLSDIR,$wine_cv_toolsdir)
-if test "$cross_compiling" = "yes"
+if test -n "$host_alias"
then
- AC_SUBST(TARGETFLAGS,"-b $host_alias")
+ AC_SUBST(TARGETFLAGS,"-b $host_alias $TARGETFLAGS")
fi
dnl Check for flex