--- gforth/configure.in 2012/10/08 01:10:30 1.317 +++ gforth/configure.in 2012/12/31 15:25:17 1.321 @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. -#Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005,2006,2007,2008,2009,2010,2011 Free Software Foundation, Inc. +#Copyright (C) 1995,1996,1997,1998,2000,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012 Free Software Foundation, Inc. #This file is part of Gforth. @@ -261,6 +261,11 @@ case "$host_cpu" in if test x$platform = xnxt; then CFLAGS="$CFLAGS -mthumb -mthumb-interwork" fi + case "$host_os" in + *android*) + CFLAGS="$CFLAGS -march=armv7-a -mfloat-abi=softfp -mfpu=vfp" + ;; + esac if test -z $arm_cacheflush; then case "$host_os" in *linux*)