build: Add ARM 64bit support

This commit is contained in:
Nicolas Dufresne 2016-07-06 15:18:15 -04:00 committed by Arun Raghavan
parent 7a37a8bca3
commit 7d15b10fb0

View File

@ -99,6 +99,11 @@ AS_CASE(["${host_cpu}"],
HAVE_ARM=1 HAVE_ARM=1
ARCH_CFLAGS="-DWEBRTC_ARCH_ARM" ARCH_CFLAGS="-DWEBRTC_ARCH_ARM"
], ],
[aarch64*],
[
HAVE_NEON=1
ARCH_CFLAGS="-DWEBRTC_HAS_NEON -DWEBRTC_ARCH_ARM64"
],
# FIXME: Add MIPS support, see webrtc/BUILD.gn for defines # FIXME: Add MIPS support, see webrtc/BUILD.gn for defines
[AC_MSG_ERROR([Unsupported CPU type $host_cpu])] [AC_MSG_ERROR([Unsupported CPU type $host_cpu])]
) )