Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 1 | From: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= <remi@remlab.net> |
| 2 | Date: Sat, 16 Jun 2018 21:31:45 +0300 |
| 3 | Subject: configure: fix linking on RISC-V ISA |
| 4 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 5 | Upstream-Status: Inappropriate |
| 6 | |
| 7 | RPI-Distro repo forks original vlc and applies patches |
| 8 | to enable raspiberry pi support. |
| 9 | |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 10 | --- |
| 11 | configure.ac | 1 + |
| 12 | 1 file changed, 1 insertion(+) |
| 13 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame^] | 14 | diff --git a/configure.ac b/configure.ac |
| 15 | index 2037a9e..df26367 100644 |
Andrew Geissler | 87f5cff | 2022-09-30 13:13:31 -0500 | [diff] [blame] | 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 |