mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 12:59:03 +02:00

This adds support for building rpidistro version of VLC with hardware acceleration through MMAL. The version of VLC located in meta-openembedded/meta-multimedia/recipes-multimedia/vlc uses mainline VLC and doesn't give all the proper flags. The series of patches attached to commit gives necessarly vlc mmal flags. * https://code.videolan.org/videolan/vlc/-/issues/24617 * https://bugs.gentoo.org/723006 The build fails with errors such as "multiple definition of `pf_enable_graphic_buffers'" when omxil is enabled. The issue seems to be due to compiler flags. Adding -fcommon to both cflags and cxxflags yields a full compile. Signed-off-by: Vincent Davis Jr <vince@underview.tech>
20 lines
440 B
Diff
20 lines
440 B
Diff
From: =?utf-8?q?R=C3=A9mi_Denis-Courmont?= <remi@remlab.net>
|
|
Date: Sat, 16 Jun 2018 21:31:45 +0300
|
|
Subject: configure: fix linking on RISC-V ISA
|
|
|
|
Upstream-status: Pending
|
|
---
|
|
configure.ac | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -113,6 +113,7 @@ case "${host_os}" in
|
|
;;
|
|
linux*)
|
|
SYS=linux
|
|
+ test "${host_cpu}" = "riscv64" && CFLAGS="${CFLAGS} -pthread"
|
|
;;
|
|
bsdi*)
|
|
SYS=bsdi
|