mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 02:31:27 +00:00
vlc: Add -pthread on riscv
Fixes missing atomic symols during linking e.g. vlc-3.0.6/src/misc/picture_pool.c:201: undefined reference to `__atomic_fetch_add_2' collect2: error: ld returned 1 exit status Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -3,6 +3,8 @@ require ${BPN}.inc
|
||||
# work around build failure
|
||||
EXTRA_OECONF += " --enable-libxml2=no"
|
||||
|
||||
LDFLAGS_append_riscv64 = " -pthread"
|
||||
|
||||
SRC_URI += " \
|
||||
file://0002-glibc-does-not-provide-strlcpy.patch \
|
||||
file://0005-libpostproc-header-check.patch \
|
||||
|
||||
Reference in New Issue
Block a user