meson: Make -Dneon=no disable neon-specific code
When the neon build option is set to 'no', we should disable optimized implementations that use NEON. Change have_neon to false in that case, so that we skip the flags and skip building NEON-specific files. Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
This commit is contained in:
parent
8b0255991e
commit
6c914be933
@ -173,6 +173,8 @@ endif
|
|||||||
if neon_opt == 'runtime'
|
if neon_opt == 'runtime'
|
||||||
warning('webrtc cannot check NEON support at runtime, will build without NEON')
|
warning('webrtc cannot check NEON support at runtime, will build without NEON')
|
||||||
have_neon = false
|
have_neon = false
|
||||||
|
elif neon_opt == 'no'
|
||||||
|
have_neon = false
|
||||||
endif
|
endif
|
||||||
if have_neon
|
if have_neon
|
||||||
arch_cflags += ['-DWEBRTC_HAS_NEON']
|
arch_cflags += ['-DWEBRTC_HAS_NEON']
|
||||||
|
Loading…
x
Reference in New Issue
Block a user