diff --git a/docker-build.sh b/docker-build.sh index 19fc27fb5d1..2fb4a5a99ef 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