Remove -ffat-lto-objects compiler flag

This commit is contained in:
Tom Stellard 2020-10-29 07:12:04 -07:00
parent 5bff53b37b
commit 32b8b533d1

View File

@ -4,7 +4,7 @@
%global min_ver 0 %global min_ver 0
%global patch_ver 0 %global patch_ver 0
#%%global rc_ver 6 #%%global rc_ver 6
%global baserelease 2 %global baserelease 3
%global clang_tools_binaries \ %global clang_tools_binaries \
%{_bindir}/clang-apply-replacements \ %{_bindir}/clang-apply-replacements \
@ -286,6 +286,10 @@ pathfix.py -i %{__python3} -pn \
# We run the builders out of memory on armv7 and i686 when LTO is enabled # We run the builders out of memory on armv7 and i686 when LTO is enabled
%ifarch %{arm} i686 %ifarch %{arm} i686
%define _lto_cflags %{nil} %define _lto_cflags %{nil}
%else
# This package does not ship any object files or static libraries, so we
# don't need -ffat-lto-objects.
%global _lto_cflags %(echo %{_lto_cflags} | sed 's/-ffat-lto-objects//')
%endif %endif
%if 0%{?__isa_bits} == 64 %if 0%{?__isa_bits} == 64
@ -517,6 +521,9 @@ false
%endif %endif
%changelog %changelog
* Thu Oct 29 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-3
- Remove -ffat-lto-objects compiler flag
* Wed Oct 28 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-2 * Wed Oct 28 2020 Tom Stellard <tstellar@redhat.com> - 11.0.0-2
- Add clang-resource-filesystem sub-package - Add clang-resource-filesystem sub-package