The WEBRTC_HAS_NEON macro that enables using NEON implementations is unconditionally set for arm64 and the 'neon' build option is ignored, assuming we always want to use the NEON-specific implementations instead of generic ones. This is an OK assumption to make because arm64 CPUs always support NEON. But the code handling the build option ended up quite convoluted. As part of cleaning up, set the relevant cflags after we handle the build option. This also means that we can make 'runtime' fall back to 'no', and disable NEON-specific code with -Dneon=no. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
6.4 KiB
6.4 KiB