- Use -flto=auto for GCC to speed up builds
This commit is contained in:
parent
06f1d527d7
commit
4637e1bd55
2
macros
2
macros
@ -328,7 +328,7 @@ print(result)
|
|||||||
# to verify they have real sections/symbols after LTO stripping. That
|
# to verify they have real sections/symbols after LTO stripping. That
|
||||||
# way we can detect installing an unusable .o/.a file. This is on the TODO
|
# way we can detect installing an unusable .o/.a file. This is on the TODO
|
||||||
# list for F34.
|
# list for F34.
|
||||||
%_gcc_lto_cflags -flto -ffat-lto-objects
|
%_gcc_lto_cflags -flto=auto -ffat-lto-objects
|
||||||
%_clang_lto_cflags -flto
|
%_clang_lto_cflags -flto
|
||||||
%_lto_cflags %{expand:%%{_%{toolchain}_lto_cflags}}
|
%_lto_cflags %{expand:%%{_%{toolchain}_lto_cflags}}
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
Summary: Red Hat specific rpm configuration files
|
Summary: Red Hat specific rpm configuration files
|
||||||
Name: redhat-rpm-config
|
Name: redhat-rpm-config
|
||||||
Version: 165
|
Version: 166
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
@ -211,6 +211,9 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
|
|||||||
%{_rpmconfigdir}/macros.d/macros.kmp
|
%{_rpmconfigdir}/macros.d/macros.kmp
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jul 30 2020 Jeff Law <law@redhat.com> - 166-1
|
||||||
|
- Use -flto=auto for GCC to speed up builds
|
||||||
|
|
||||||
* Tue Jul 28 2020 Tom Stellard <tstellar@redhat.com> - 165-1
|
* Tue Jul 28 2020 Tom Stellard <tstellar@redhat.com> - 165-1
|
||||||
- Only use supported lto flags for clang toolchain
|
- Only use supported lto flags for clang toolchain
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user