]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
ffmpeg: Build against libatomic on armv5tel and RISC-V
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 May 2021 08:33:11 +0000 (08:33 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 5 May 2021 08:33:11 +0000 (08:33 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
lfs/ffmpeg

index 41b939c22386b679f059e0632795d06f1c970d77..976a4ab13a239336235b56f001aa631e457c1ff4 100644 (file)
@@ -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
 ###############################################################################