From 3e933d51a88af0c6906789cf51b101b2d7da52e13868b21ae373113d56967305 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 16 Mar 2020 16:59:03 +0000 Subject: [PATCH] Accepting request 785645 from home:AndreasSchwab:f - Add -ffat-lto-objects to _lto_cflags to fix configure checks OBS-URL: https://build.opensuse.org/request/show/785645 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/ffmpeg-4?expand=0&rev=106 --- ffmpeg-4.changes | 5 +++++ ffmpeg-4.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/ffmpeg-4.changes b/ffmpeg-4.changes index 48d3eae..f8d248c 100644 --- a/ffmpeg-4.changes +++ b/ffmpeg-4.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 16 13:30:41 UTC 2020 - Andreas Schwab + +- Add -ffat-lto-objects to _lto_cflags to fix configure checks + ------------------------------------------------------------------- Sun Mar 15 11:22:21 UTC 2020 - Yunhe Guo diff --git a/ffmpeg-4.spec b/ffmpeg-4.spec index 2c978a6..ffcd53d 100644 --- a/ffmpeg-4.spec +++ b/ffmpeg-4.spec @@ -583,6 +583,9 @@ break compatibility without any notice. %ifarch %ix86 %arm %define _lto_cflags %nil %endif +%if "%_lto_cflags" != "" +%global _lto_cflags %_lto_cflags -ffat-lto-objects +%endif CFLAGS="%optflags" \ %if %suse_version > 1500 %ifarch %ix86