aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-06-08 17:58:36 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-06-11 23:49:47 +0100
commitd5e4a55f3d8ed79afca11cbeac6f9f478537a83b (patch)
tree9740fe5a4ea4a54f1be71cf22468b042045f50de /meta/recipes-multimedia
parent8bf6e76256e14f11a8ea4a240810280a479a1f57 (diff)
downloadopenembedded-core-contrib-d5e4a55f3d8ed79afca11cbeac6f9f478537a83b.tar.gz
openembedded-core-contrib-d5e4a55f3d8ed79afca11cbeac6f9f478537a83b.tar.bz2
openembedded-core-contrib-d5e4a55f3d8ed79afca11cbeac6f9f478537a83b.zip
ffmpeg: Link in libatomic on riscv32
It needs some functions from libatomic e.g. libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8' Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
index 664fc6066a..3ed009bbb7 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.bb
@@ -129,6 +129,7 @@ EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'mips32r2', '--disable-mi
EXTRA_OECONF += "${@bb.utils.contains('TUNE_FEATURES', 'mips32r6', '--disable-mips64r2 --disable-mips32r2', '', d)}"
EXTRA_OECONF_append_mips = " --extra-libs=-latomic --disable-mips32r5 --disable-mipsdsp --disable-mipsdspr2 \
--disable-loongson2 --disable-loongson3 --disable-mmi --disable-msa --disable-msa2"
+EXTRA_OECONF_append_riscv32 = " --extra-libs=-latomic"
# gold crashes on x86, another solution is to --disable-asm but thats more hacky
# ld.gold: internal error in relocate_section, at ../../gold/i386.cc:3684