diff options
author | Khem Raj <raj.khem@gmail.com> | 2021-12-06 14:14:18 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-12-08 20:22:11 +0000 |
commit | 000f71e0f7cc13fe850b067c708b969e4fb0d1b4 (patch) | |
tree | 4df856046080f33c3185afa3ca66ebc6cfd52ffc /meta | |
parent | 7ccb65720ce67f9703540841e4ab52540aaf6df9 (diff) | |
download | poky-000f71e0f7cc13fe850b067c708b969e4fb0d1b4.tar.gz |
ffmpeg: Fix build on ppc32
Fixes
| powerpc-yoe-linux/11.2.0/ld: libavformat/libavformat.so: undefined reference to `__atomic_fetch_sub_8'
(From OE-Core rev: d140306257a38615b84bc7f7595a4b2b5e97b808)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb index 685214a751..3ba07c31d6 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb | |||
@@ -131,6 +131,7 @@ EXTRA_OECONF:append:mips = " --extra-libs=-latomic --disable-mips32r5 --disable- | |||
131 | --disable-loongson2 --disable-loongson3 --disable-mmi --disable-msa --disable-msa2" | 131 | --disable-loongson2 --disable-loongson3 --disable-mmi --disable-msa --disable-msa2" |
132 | EXTRA_OECONF:append:riscv32 = " --extra-libs=-latomic" | 132 | EXTRA_OECONF:append:riscv32 = " --extra-libs=-latomic" |
133 | EXTRA_OECONF:append:armv5 = " --extra-libs=-latomic" | 133 | EXTRA_OECONF:append:armv5 = " --extra-libs=-latomic" |
134 | EXTRA_OECONF:append:powerpc = " --extra-libs=-latomic" | ||
134 | 135 | ||
135 | # gold crashes on x86, another solution is to --disable-asm but thats more hacky | 136 | # gold crashes on x86, another solution is to --disable-asm but thats more hacky |
136 | # ld.gold: internal error in relocate_section, at ../../gold/i386.cc:3684 | 137 | # ld.gold: internal error in relocate_section, at ../../gold/i386.cc:3684 |