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