Arun Raghavan pushed to branch master at PulseAudio / webrtc-audio-processing


Commits:
b34c1d57 by Arun Raghavan at 2020-12-11T08:16:04-05:00
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.

Fixes: 
https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/6

- - - - -


1 changed file:

- meson.build


Changes:

=====================================
meson.build
=====================================
@@ -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
 #endif''')
     have_arm = true



View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/b34c1d5746ea5017b9b32efbffc7fc6f9d944bb7

-- 
View it on GitLab: 
https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/b34c1d5746ea5017b9b32efbffc7fc6f9d944bb7
You're receiving this email because of your account on gitlab.freedesktop.org.


_______________________________________________
pulseaudio-commits mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-commits

Reply via email to