Change clang LTO default to ThinLTO
Resolves: rhbz#2178788
This commit is contained in:
parent
446d35133d
commit
bc835f7074
2
macros
2
macros
@ -328,7 +328,7 @@ print(result)
|
|||||||
# 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=auto -ffat-lto-objects
|
%_gcc_lto_cflags -flto=auto -ffat-lto-objects
|
||||||
%_clang_lto_cflags -flto
|
%_clang_lto_cflags -flto=thin
|
||||||
%_lto_cflags %{expand:%%{_%{toolchain}_lto_cflags}}
|
%_lto_cflags %{expand:%%{_%{toolchain}_lto_cflags}}
|
||||||
|
|
||||||
%_general_options -O2 %{?_lto_cflags} -fexceptions -g -grecord-gcc-switches -pipe
|
%_general_options -O2 %{?_lto_cflags} -fexceptions -g -grecord-gcc-switches -pipe
|
||||||
|
@ -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: 199
|
Version: 200
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
# No version specified.
|
# No version specified.
|
||||||
License: GPL+
|
License: GPL+
|
||||||
@ -250,6 +250,10 @@ install -p -m 644 -t %{buildroot}%{_rpmluadir}/fedora/srpm forge.lua
|
|||||||
%doc buildflags.md
|
%doc buildflags.md
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Apr 19 2023 Nikita Popov <npopov@redhat.com> - 200-1
|
||||||
|
- Change clang LTO default to ThinLTO
|
||||||
|
- Resolves: rhbz#2178788
|
||||||
|
|
||||||
* Mon Feb 13 2023 Miro Hrončok <mhroncok@redhat.com> - 199-1
|
* Mon Feb 13 2023 Miro Hrončok <mhroncok@redhat.com> - 199-1
|
||||||
- Add pyproject-srpm-macros to the default buildroot
|
- Add pyproject-srpm-macros to the default buildroot
|
||||||
- Related: rhbz#2168193
|
- Related: rhbz#2168193
|
||||||
|
Loading…
Reference in New Issue
Block a user