Fails to build on ARM without NEON
FreeBSD armv6 has NEON disabled by default i.e., supported but requires -march=armv7-a -mfpu=neon
and/or AT_HWCAP
. Passing -Dneon=no
doesn't help, see error logs: default, -Dneon=no
. armv7 and aarch64 are not affected.
In file included from webrtc/third_party/pffft/src/pffft.c:155:
/usr/lib/clang/11.0.0/include/arm_neon.h:32:2: error: "NEON support not enabled"
#error "NEON support not enabled"
^
webrtc/third_party/pffft/src/pffft.c:156:9: error: unknown type name 'float32x4_t'
typedef float32x4_t v4sf;
^