Accepting request 668144 from home:bmwiedemann:branches:devel:libraries:c_c++

Do not run profiling in parallel for reproducible builds (boo#1040589)

OBS-URL: https://build.opensuse.org/request/show/668144
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/pcre2?expand=0&rev=33
This commit is contained in:
Jason Sikes 2019-01-23 18:36:12 +00:00 committed by Git OBS Bridge
parent 696d828606
commit 494203d8f4
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 23 12:25:38 UTC 2019 - Bernhard Wiedemann <bwiedemann@suse.com>
- Do not run profiling in parallel for reproducible builds (boo#1040589)
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 14 16:11:53 CET 2019 - kukuk@suse.de Mon Jan 14 16:11:53 CET 2019 - kukuk@suse.de

View File

@ -189,7 +189,8 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
%if 0%{?do_profiling} %if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1 make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" V=1
export LANG=POSIX export LANG=POSIX
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check # do not run profiling in parallel for reproducible builds (boo#1040589 boo#1102408)
make CFLAGS="%{optflags} %{cflags_profile_generate}" check
make %{?_smp_mflags} clean make %{?_smp_mflags} clean
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1 make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}" V=1
%else %else