SHA256
1
0
forked from jengelh/ffmpeg-4

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
This commit is contained in:
Jan Engelhardt 2020-03-16 16:59:03 +00:00 committed by Git OBS Bridge
parent d94e35ef31
commit 3e933d51a8
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Mar 16 13:30:41 UTC 2020 - Andreas Schwab <schwab@linux-m68k.org>
- Add -ffat-lto-objects to _lto_cflags to fix configure checks
-------------------------------------------------------------------
Sun Mar 15 11:22:21 UTC 2020 - Yunhe Guo <i@guoyunhe.me>

View File

@ -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