diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-03-06 16:02:29 -0800 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2019-03-07 09:33:45 -0800 |
commit | f2728df71ddf1e61d0c65e257635817773318c51 (patch) | |
tree | d355d7f06696804f5417a5596c447cb83020fc5a /meta-multimedia | |
parent | 8cbd403fce3a3ad8ff2410044075441374e9e14f (diff) | |
download | meta-openembedded-f2728df71ddf1e61d0c65e257635817773318c51.tar.gz |
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>
Diffstat (limited to 'meta-multimedia')
-rw-r--r-- | meta-multimedia/recipes-multimedia/vlc/vlc_3.0.6.bb | 2 |
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 | |||
3 | # work around build failure | 3 | # work around build failure |
4 | EXTRA_OECONF += " --enable-libxml2=no" | 4 | EXTRA_OECONF += " --enable-libxml2=no" |
5 | 5 | ||
6 | LDFLAGS_append_riscv64 = " -pthread" | ||
7 | |||
6 | SRC_URI += " \ | 8 | SRC_URI += " \ |
7 | file://0002-glibc-does-not-provide-strlcpy.patch \ | 9 | file://0002-glibc-does-not-provide-strlcpy.patch \ |
8 | file://0005-libpostproc-header-check.patch \ | 10 | file://0005-libpostproc-header-check.patch \ |