]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - lfs/ffmpeg
ffmpeg: Build against libatomic on armv5tel and RISC-V
[people/pmueller/ipfire-2.x.git] / 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
 ###############################################################################