From 66f97d6c65eebb64d895f70294c65f745a6f2c1f Mon Sep 17 00:00:00 2001 From: matthewcroughan Date: Thu, 27 Apr 2023 16:43:51 +0100 Subject: [PATCH] svt-av1: enable link-time-optimization --- pkgs/tools/video/svt-av1/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/tools/video/svt-av1/default.nix b/pkgs/tools/video/svt-av1/default.nix index 8cf9dc849896..0d381f6e070c 100644 --- a/pkgs/tools/video/svt-av1/default.nix +++ b/pkgs/tools/video/svt-av1/default.nix @@ -22,6 +22,10 @@ stdenv.mkDerivation (finalAttrs: { nasm ]; + cmakeFlags = [ + "-DSVT_AV1_LTO=ON" + ]; + passthru.updateScript = gitUpdater { rev-prefix = "v"; };