From d63a2c97149c56ec4b1a634b228e4a2f1f4f94e3 Mon Sep 17 00:00:00 2001 From: Alper Nebi Yasak Date: Wed, 30 Oct 2024 03:19:22 +0300 Subject: [PATCH] meson: pffft: Warn about not having runtime neon checks The pffft.c file does not have runtime checks for NEON, and silently falls back to disabling it when the neon option is 'runtime'. Print a warning in this case. Signed-off-by: Alper Nebi Yasak --- webrtc/third_party/pffft/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/webrtc/third_party/pffft/meson.build b/webrtc/third_party/pffft/meson.build index 90bc957..28707d2 100644 --- a/webrtc/third_party/pffft/meson.build +++ b/webrtc/third_party/pffft/meson.build @@ -4,6 +4,10 @@ pffft_sources = [ pffft_cflags = [ '-D_GNU_SOURCE' ] +if neon_opt == 'runtime' + warning('pffft cannot check NEON support at runtime, will build without NEON') +endif + if not have_inline_sse or (have_arm and neon_opt != 'yes') or (have_mips and host_machine.endian() == 'little') or have_mips64 pffft_cflags += [ '-DPFFFT_SIMD_DISABLE' ] endif