From 7f06b05087dc47d79682998ad62ac5688cb602a6 Mon Sep 17 00:00:00 2001 From: Leigh Scott Date: Sun, 2 Aug 2020 07:54:41 +0100 Subject: [PATCH] Disable LTO --- vlc.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vlc.spec b/vlc.spec index 7eb0713..ef17df8 100644 --- a/vlc.spec +++ b/vlc.spec @@ -342,6 +342,9 @@ touch src/revision.txt %build +%if 0%{?fedora} > 32 +%define _lto_cflags %{nil} +%endif %if 0%{?el7} . /opt/rh/devtoolset-%{dts_ver}/enable %endif