void-packages/srcpkgs/webrtc-audio-processing/patches/012.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

22 lines
610 B
Diff

From 7a37a8bca386faf206fef32cd8cdf0f8ea3313d5 Mon Sep 17 00:00:00 2001
From: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Date: Wed, 6 Jul 2016 13:57:00 -0400
Subject: build: Re-add pthread linking on linux
diff --git a/configure.ac b/configure.ac
index bdefd72..a0c194a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,7 +60,7 @@ AS_CASE(["${host}"],
[
OS_CFLAGS="-DWEBRTC_LINUX -DWEBRTC_THREAD_RR"
PLATFORM_CFLAGS="-DWEBRTC_POSIX"
- OS_LDFLAGS="-lrt"
+ OS_LDFLAGS="-lrt -lpthread"
HAVE_POSIX=1
],
[*-*darwin*],
--
cgit v0.10.2