From eae9174bf69e85955410b3f3f29bc67a7868a32d Mon Sep 17 00:00:00 2001 From: Bond-009 Date: Thu, 8 Apr 2021 13:57:13 +0200 Subject: [PATCH] Enable link time optimization for ffmpeg --- docker-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-build.sh b/docker-build.sh index 19fc27fb5d..2fb4a5a99e 100755 --- a/docker-build.sh +++ b/docker-build.sh @@ -26,7 +26,7 @@ prepare_extra_common() { ;; esac ./autogen.sh - ./configure --prefix=${TARGET_DIR} ${CROSS_OPT} + ./configure --prefix=${TARGET_DIR} --enable-lto ${CROSS_OPT} make -j $(nproc) && make install && make install DESTDIR=${SOURCE_DIR}/zimg echo "zimg${TARGET_DIR}/lib/libzimg.so* usr/lib/jellyfin-ffmpeg/lib" >> ${SOURCE_DIR}/debian/jellyfin-ffmpeg.install popd