From c7b1d6b8d0fd88dba90cc515956c3bba7a03c5cd Mon Sep 17 00:00:00 2001 From: Atemu Date: Sun, 28 May 2023 16:59:41 +0200 Subject: [PATCH] ffmpeg: remove withLTO option It has been broken for a while, we shouldn't pretend that we support it. Fixes https://github.com/NixOS/nixpkgs/issues/139168 --- pkgs/development/libraries/ffmpeg/generic.nix | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix index 92772c419c1e..12e59c939afe 100644 --- a/pkgs/development/libraries/ffmpeg/generic.nix +++ b/pkgs/development/libraries/ffmpeg/generic.nix @@ -126,7 +126,6 @@ , withMultithread ? true # Multithreading via pthreads/win32 threads , withNetwork ? withHeadlessDeps # Network support , withPixelutils ? withHeadlessDeps # Pixel utils in libavutil -, withLTO ? false # build with link-time optimization /* * Program options */ @@ -384,7 +383,6 @@ stdenv.mkDerivation (finalAttrs: { (enableFeature withSmallBuild "small") (enableFeature withRuntimeCPUDetection "runtime-cpudetect") - (enableFeature withLTO "lto") (enableFeature withGrayscale "gray") (enableFeature withSwscaleAlpha "swscale-alpha") (enableFeature withHardcodedTables "hardcoded-tables")