summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Palus <jpalus@fastmail.com>2022-05-21 14:10:48 +0200
committerJan Palus <jpalus@fastmail.com>2022-05-21 14:10:48 +0200
commitca1186946d3c9d08229c02cc7a46c3caf766ca2e (patch)
treeabac4f64442ab6e41f4e328328b5e67886c32a60
parent26f449340548334c4937fc13cf603b970f14864e (diff)
downloadwebrtc-audio-processing-master.tar.gz
build: don't detect neon again when building on aarch64HEADmaster
it will try to add -mfpu=neon to cflags not available on aarch64 since neon is mandatory there
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index b8b3e25..54bb16f 100644
--- a/meson.build
+++ b/meson.build
@@ -192,7 +192,7 @@ if ['x86', 'x86_64'].contains(host_machine.cpu_family())
endif
neon_opt = get_option('neon')
-if neon_opt != 'no'
+if neon_opt != 'no' and not have_neon
if neon_opt != 'runtime'
if cc.compiles('#include <arm_neon.h>', args : '-mfpu=neon')
arch_cflags += ['-mfpu=neon', '-DWEBRTC_HAS_NEON']