Fix Docker build without LTO

This commit is contained in:
Ilya Fedin 2025-06-04 15:29:27 +00:00 committed by John Preston
parent 5c4b1f6638
commit af061125dd

View file

@ -512,6 +512,7 @@ RUN git clone -b n6.1.1 --depth=1 https://github.com/FFmpeg/FFmpeg.git \
&& ./configure \
--extra-cflags="-fno-lto -DCONFIG_SAFE_BITSTREAM_READER=1" \
--extra-cxxflags="-fno-lto -DCONFIG_SAFE_BITSTREAM_READER=1" \
--extra-ldflags="-lstdc++" \
--disable-debug \
--disable-programs \
--disable-doc \