mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-03 21:54:05 +02:00
Re-enable ffmpeg optimizations on Linux
By disabling LTO
This commit is contained in:
parent
79cb4668f1
commit
29567df407
1 changed files with 2 additions and 4 deletions
|
@ -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 \
|
||||
|
|
Loading…
Add table
Reference in a new issue