From: Michael Tremer Date: Wed, 5 May 2021 08:33:11 +0000 (+0000) Subject: ffmpeg: Build against libatomic on armv5tel and RISC-V X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=be28aade968899ee907cc135e0158e23f7fe2908;p=people%2Fms%2Fipfire-2.x.git ffmpeg: Build against libatomic on armv5tel and RISC-V Signed-off-by: Michael Tremer --- 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 ###############################################################################