Re-enable ffmpeg optimizations on Linux

By disabling LTO
This commit is contained in:
Ilya Fedin 2025-02-20 04:07:44 +00:00 committed by John Preston
parent 79cb4668f1
commit 29567df407

View file

@ -486,11 +486,9 @@ COPY --link --from=nv-codec-headers {{ LibrariesPath }}/nv-codec-headers-cache /
RUN git clone -b n6.1.1 --depth=1 {{ GIT }}/FFmpeg/FFmpeg.git \
&& cd FFmpeg \
&& ./configure \
--extra-cflags="-DCONFIG_SAFE_BITSTREAM_READER=1" \
--extra-cxxflags="-DCONFIG_SAFE_BITSTREAM_READER=1" \
--extra-cflags="-fno-lto -DCONFIG_SAFE_BITSTREAM_READER=1" \
--extra-cxxflags="-fno-lto -DCONFIG_SAFE_BITSTREAM_READER=1" \
--disable-debug \
--disable-optimizations \
--disable-inline-asm \
--disable-programs \
--disable-doc \
--disable-network \