Accepting request 725489 from home:marxin:branches:Base:System2
- Add set-flto=auto-by-default.patch in order to utilize -flto=auto. OBS-URL: https://build.opensuse.org/request/show/725489 OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=503
This commit is contained in:
parent
aeaa4b90b2
commit
5a8cb79e51
@ -13,7 +13,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 23 07:19:03 UTC 2019 - Martin Liška <mliska@suse.cz>
|
||||
|
||||
- Add set-flto=auto-by-default.patch in order to utilize -flto=auto.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 6 08:49:50 UTC 2019 - Fabian Vogt <fvogt@suse.com>
|
||||
|
||||
|
4
rpm.spec
4
rpm.spec
@ -12,7 +12,7 @@
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
@ -135,6 +135,7 @@ Patch120: rpmfc-push-name-epoch-version-release-macro-before-invoking-depg
|
||||
Patch121: adopt-language-specific-build_fooflags-macros-from-F.patch
|
||||
Patch122: 0001-Stop-papering-over-the-security-disaster-known-as-pr.patch
|
||||
Patch123: 0002-Fix-use-after-free-introduced-in-0f21bdd0d7b2c45564d.patch
|
||||
Patch124: set-flto=auto-by-default.patch
|
||||
Patch6464: auto-config-update-aarch64-ppc64le.diff
|
||||
Patch6465: auto-config-update-riscv64.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -237,6 +238,7 @@ rm -f rpmdb/db.h
|
||||
%patch121 -p1
|
||||
%patch122 -p1
|
||||
%patch123 -p1
|
||||
%patch124 -p1
|
||||
|
||||
%ifarch aarch64 ppc64le riscv64
|
||||
%patch6464
|
||||
|
13
set-flto=auto-by-default.patch
Normal file
13
set-flto=auto-by-default.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/platform.in b/platform.in
|
||||
index fa3921f..cff01e1 100644
|
||||
--- a/platform.in
|
||||
+++ b/platform.in
|
||||
@@ -60,7 +60,7 @@
|
||||
%_smp_mflags -j%{_smp_build_ncpus}
|
||||
|
||||
# Enable LTO optimization with a maximal parallelism
|
||||
-%_lto_cflags -flto=%{_smp_build_ncpus}
|
||||
+%_lto_cflags -flto=auto
|
||||
|
||||
#==============================================================================
|
||||
# ---- Build policy macros.
|
Loading…
Reference in New Issue
Block a user