From be28aade968899ee907cc135e0158e23f7fe2908 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 5 May 2021 08:33:11 +0000 Subject: [PATCH] ffmpeg: Build against libatomic on armv5tel and RISC-V Signed-off-by: Michael Tremer --- lfs/ffmpeg | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lfs/ffmpeg b/lfs/ffmpeg index 41b939c223..976a4ab13a 100644 --- a/lfs/ffmpeg +++ b/lfs/ffmpeg @@ -36,6 +36,14 @@ PAK_VER = 11 DEPS = sdl lame libvorbis xvid +ifeq "$(BUILD_ARCH)" "armv5tel" + LDFLAGS += -latomic +endif + +ifeq "$(BUILD_ARCH)" "riscv64" + LDFLAGS += -latomic +endif + ############################################################################### # Top-level Rules ############################################################################### -- 2.39.5