Accepting request 1171128 from home:bmwiedemann:branches:devel:gcc

Allow to disable profiling
there were some variations in .gcda files
that rarely could lead to variations in optimized finaly binaries

OBS-URL: https://build.opensuse.org/request/show/1171128
OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=467
This commit is contained in:
Richard Biener 2024-05-02 09:48:54 +00:00 committed by Git OBS Bridge
parent 626fe753e0
commit 25ef655d66
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed May 1 09:52:29 UTC 2024 - Bernhard Wiedemann <bwiedemann@suse.com>
- Allow to disable profiling
-------------------------------------------------------------------
Thu Feb 22 10:11:25 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -380,7 +380,7 @@ cd build-dir
%endif
--enable-shared \
%if %{suse_version} > 1500
%if %{with bootstrap}
%if %{with bootstrap} && 0%{?do_profiling}
--enable-pgo-build=lto \
%endif
--enable-colored-disassembly \