Commit 0fbab07c authored by Arun Raghavan's avatar Arun Raghavan
Browse files

build: Fix ARM ISA detection

armv7 isn't a real cpu_family in meson, so drop that. The detection for
__ARM_ARCH_ISA_ARM was also inverted.
parent 3f9907f9
Pipeline #242559 passed with stages
in 1 minute and 41 seconds
......@@ -83,8 +83,8 @@ have_mips = false
have_mips64 = false
have_x86 = false
have_avx2 = false
if ['arm', 'armv7'].contains(host_machine.cpu_family())
if cc.compiles('''#ifdef __ARM_ARCH_ISA_ARM
if host_machine.cpu_family() == 'arm'
if cc.compiles('''#ifndef __ARM_ARCH_ISA_ARM
#error no arm arch
have_arm = true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment