[vlc-commits] configure: fix linking on RISC-V ISA

Rémi Denis-Courmont git at videolan.org
Sat Jun 16 20:35:10 CEST 2018


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jun 16 21:31:45 2018 +0300| [50b642992007df0d7b617a168b80898850385a04] | committer: Rémi Denis-Courmont

configure: fix linking on RISC-V ISA

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=50b642992007df0d7b617a168b80898850385a04
---

 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 47e85debe0..3f1d13d208 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,6 +102,7 @@ case "${host_os}" in
     ;;
   linux*)
     SYS=linux
+    test "${host_cpu}" = "riscv64" && CFLAGS="${CFLAGS} -pthread"
     ;;
   bsdi*)
     SYS=bsdi



More information about the vlc-commits mailing list