1From: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= <remi@remlab.net>
2Date: Sat, 16 Jun 2018 21:31:45 +0300
3Subject: configure: fix linking on RISC-V ISA
4
5Upstream-Status: Inappropriate
6
7RPI-Distro repo forks original vlc and applies patches
8to enable raspiberry pi support.
9
10---
11 configure.ac | 1 +
12 1 file changed, 1 insertion(+)
13
14diff --git a/configure.ac b/configure.ac
15index 2037a9e..df26367 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -113,6 +113,7 @@ case "${host_os}" in
19     ;;
20   linux*)
21     SYS=linux
22+    test "${host_cpu}" = "riscv64" && CFLAGS="${CFLAGS} -pthread"
23     ;;
24   bsdi*)
25     SYS=bsdi
26