Bug 950261 - Fix ARM_ARCH computation with newer NDK. r=ted

This commit is contained in:
Mike Hommey 2013-12-18 08:07:11 +09:00
parent d7a11195ea
commit b89fd0745d

View File

@ -216,7 +216,7 @@ if test "$CPU_ARCH" = "arm"; then
AC_MSG_CHECKING(ARM version support in compiler)
dnl Determine the target ARM architecture (5 for ARMv5, v5T, v5E, etc.; 6 for ARMv6, v6K, etc.)
ARM_ARCH=`${CC-cc} ${CFLAGS} -dM -E - < /dev/null | sed -n 's/.*__ARM_ARCH_\([[0-9]]*\).*/\1/p'`
ARM_ARCH=`${CC-cc} ${CFLAGS} -dM -E - < /dev/null | sed -n 's/.*__ARM_ARCH_\([[0-9]][[0-9]]*\).*/\1/p'`
AC_MSG_RESULT("$ARM_ARCH")
AC_MSG_CHECKING(for ARM NEON support in compiler)