diff --git a/configure b/configure index 20285690d3f..937dbdfb207 100755 --- a/configure +++ b/configure @@ -4796,6 +4796,8 @@ fi rm -f core conftest.err conftest.$ac_objext \ conftest$ac_exeext conftest.$ac_ext CFLAGS="$CFLAGS -marm" + TARGETFLAGS="-marm" + ;; *-mingw32*|*-cygwin*) enable_win16=${enable_win16:-no} diff --git a/configure.ac b/configure.ac index 8ff388ce8e9..a425490ec21 100644 --- a/configure.ac +++ b/configure.ac @@ -172,6 +172,7 @@ case $host in [AC_MSG_RESULT([no]) AC_MSG_ERROR([You need a target with Thumb support to build Wine for ARM.])]) CFLAGS="$CFLAGS -marm" + AC_SUBST(TARGETFLAGS,"-marm") ;; *-mingw32*|*-cygwin*) enable_win16=${enable_win16:-no}