aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-03-06 16:02:29 -0800
committerKhem Raj <raj.khem@gmail.com>2019-03-07 09:33:45 -0800
commitf2728df71ddf1e61d0c65e257635817773318c51 (patch)
treed355d7f06696804f5417a5596c447cb83020fc5a
parent8cbd403fce3a3ad8ff2410044075441374e9e14f (diff)
downloadmeta-openembedded-f2728df71ddf1e61d0c65e257635817773318c51.tar.gz
meta-openembedded-f2728df71ddf1e61d0c65e257635817773318c51.tar.bz2
meta-openembedded-f2728df71ddf1e61d0c65e257635817773318c51.zip
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>
-rw-r--r--meta-multimedia/recipes-multimedia/vlc/vlc_3.0.6.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.6.bb b/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.6.bb
index 95b6779fd..1ae213ff3 100644
--- a/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.6.bb
+++ b/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.6.bb
@@ -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 \