diff --git a/meson.build b/meson.build index 67cbd07..10e6f4e 100644 --- a/meson.build +++ b/meson.build @@ -167,11 +167,12 @@ if neon_opt != 'no' and not have_neon arch_cflags += ['-mfpu=neon', '-DWEBRTC_HAS_NEON'] have_neon = true endif - else - arch_cflags += ['-DWEBRTC_DETECT_NEON', '-mfpu=neon'] - have_neon = true endif endif +if neon_opt == 'runtime' + warning('webrtc cannot check NEON support at runtime, will build without NEON') + have_neon = false +endif common_cflags = [ '-DWEBRTC_LIBRARY_IMPL',