blob: 3be8f1e026d37dcf402571131fdaa916a627d7b4 [file] [log] [blame]
Andrew Geissler87f5cff2022-09-30 13:13:31 -05001From: =?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
Andrew Geissler517393d2023-01-13 08:55:19 -06005Upstream-Status: Inappropriate
6
7RPI-Distro repo forks original vlc and applies patches
8to enable raspiberry pi support.
9
Andrew Geissler87f5cff2022-09-30 13:13:31 -050010---
11 configure.ac | 1 +
12 1 file changed, 1 insertion(+)
13
Andrew Geissler517393d2023-01-13 08:55:19 -060014diff --git a/configure.ac b/configure.ac
15index 2037a9e..df26367 100644
Andrew Geissler87f5cff2022-09-30 13:13:31 -050016--- 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