void-packages/srcpkgs/webrtc-audio-processing/patches/013.patch
Juergen Buchmueller 542ddceea2 webrtc-audio-processing: upstream patches + cross
Add upstream patches since 0.3 and fix cross compiling for
arm* by disabling neon. Inlining the neon wrappers fails with e.g.
"error: inlining failed in call to always_inline 'vld1q_s16': target specific option mismatch"
2016-12-12 08:36:09 +01:00

25 lines
695 B
Diff

From 7d15b10fb0829d456486da6a49a84492dd3eca4f Mon Sep 17 00:00:00 2001
From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Date: Wed, 6 Jul 2016 15:18:15 -0400
Subject: build: Add ARM 64bit support
diff --git a/configure.ac b/configure.ac
index a0c194a..b4b9ddf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -99,6 +99,11 @@ AS_CASE(["${host_cpu}"],
HAVE_ARM=1
ARCH_CFLAGS="-DWEBRTC_ARCH_ARM"
],
+ [aarch64*],
+ [
+ HAVE_NEON=1
+ ARCH_CFLAGS="-DWEBRTC_HAS_NEON -DWEBRTC_ARCH_ARM64"
+ ],
# FIXME: Add MIPS support, see webrtc/BUILD.gn for defines
[AC_MSG_ERROR([Unsupported CPU type $host_cpu])]
)
--
cgit v0.10.2