SHA256
1
0
forked from pool/grep

Accepting request 647618 from home:bmwiedemann:branches:Base:System

do not run profiling in parallel to make package build reproducible (boo#1040589)

also requires -fno-profile-values to avoid ~3 differing bits

OBS-URL: https://build.opensuse.org/request/show/647618
OBS-URL: https://build.opensuse.org/package/show/Base:System/grep?expand=0&rev=89
This commit is contained in:
Andreas Schwab 2018-11-12 08:14:47 +00:00 committed by Git OBS Bridge
parent c16b5ef5c8
commit 6d2ddee86a
2 changed files with 10 additions and 3 deletions

View File

@ -4,6 +4,12 @@ Tue Aug 7 07:08:30 UTC 2018 - schwab@suse.de
- remove-backref-alt-test.patch: Remove backref-alt test which fails or
not depending on glibc version
-------------------------------------------------------------------
Fri Jul 13 03:53:14 UTC 2018 - bwiedemann@suse.com
- do not run profiling in parallel to make package build
reproducible (boo#1040589)
-------------------------------------------------------------------
Thu Feb 22 15:10:33 UTC 2018 - fvogt@suse.com

View File

@ -49,9 +49,10 @@ match to a specified pattern. By default, grep prints the matching lines.
%configure \
--disable-silent-rules \
--without-included-regex
%if %{do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}" check
%if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate} -fno-profile-values"
# do not run profiling in parallel for reproducible builds (boo#1040589)
make CFLAGS="%{optflags} %{cflags_profile_generate}" check
make clean
make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
%else