Bug 1298569 - Part 1. Add NEON_FLAGS for arm32. r=glandium

aarch64 doesn't require compiler flag when using NEON.  To use NEON on aarch64 with BUILD_ARM_NEON, we should move NEON's flags to NEON_FLAGS like SSE2_FLAGS.

MozReview-Commit-ID: PGDjcHdTfH

--HG--
extra : rebase_source : d21bd6f743f363fdd183bda9b9f308fcf100186b
This commit is contained in:
Makoto Kato 2016-08-27 14:23:22 +09:00
parent 1560ed91a0
commit 376abb5214

View File

@ -202,6 +202,7 @@ fi
AC_SUBST(MOZ_THUMB2)
if test "$CPU_ARCH" = "arm"; then
NEON_FLAGS="-mfpu=neon"
AC_MSG_CHECKING(for ARM SIMD support in compiler)
# We try to link so that this also fails when
# building with LTO.
@ -248,5 +249,6 @@ AC_SUBST(HAVE_ARM_SIMD)
AC_SUBST(HAVE_ARM_NEON)
AC_SUBST(BUILD_ARM_NEON)
AC_SUBST(ARM_ARCH)
AC_SUBST_LIST(NEON_FLAGS)
])