From f97d8ce173eda76cf236f527a6b735e6f4bae6163d764efcd762c6a49e22a46b Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Wed, 16 Mar 2022 13:02:12 +0000 Subject: [PATCH] Accepting request 962124 from home:bmwiedemann:branches:Base:System Make profiling deterministic (bsc#1040589) OBS-URL: https://build.opensuse.org/request/show/962124 OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=116 --- grep.changes | 5 +++++ grep.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/grep.changes b/grep.changes index 0b26da1..cb1f0d9 100644 --- a/grep.changes +++ b/grep.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Mar 15 21:51:41 UTC 2022 - Bernhard Wiedemann + +- Make profiling deterministic (bsc#1040589) + ------------------------------------------------------------------- Sat Feb 12 13:40:18 UTC 2022 - Dirk Müller diff --git a/grep.spec b/grep.spec index 0175540..f87e677 100644 --- a/grep.spec +++ b/grep.spec @@ -49,7 +49,7 @@ match to a specified pattern. By default, grep prints the matching lines. %{nil} %if 0%{?do_profiling} %make_build CFLAGS="%{optflags} %{cflags_profile_generate}" - sh %{SOURCE4} # profiling run + setarch -R sh %{SOURCE4} # profiling run %make_build clean %make_build CFLAGS="%{optflags} %{cflags_profile_feedback}" %else