webrtc-audio-processing/webrtc-audio-processing-0.2-x86_msse2.patch
Rex Dieter 9556fffdef fix x86 sse2 runtime detection
tried and failed doing the same for arm neon support
2016-05-16 13:18:46 -05:00

16 lines
506 B
Diff

diff -up webrtc-audio-processing-0.2/configure.ac.x86_sse2 webrtc-audio-processing-0.2/configure.ac
--- webrtc-audio-processing-0.2/configure.ac.x86_sse2 2015-11-04 01:49:34.000000000 -0600
+++ webrtc-audio-processing-0.2/configure.ac 2016-05-16 12:27:16.640796437 -0500
@@ -56,6 +56,11 @@ AS_CASE(["${host}"],
AC_SUBST(PLATFORM_CFLAGS)
AS_CASE(["${host_cpu}"],
+ [i?86],
+ [
+ HAVE_X86=1
+ ARCH_CFLAGS="-msse2"
+ ],
[i?86|x86_64],
[
HAVE_X86=1