SHA256
3
0
forked from pool/sed

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

Make package build reproducible (boo#1040589)

apparently, generating .gcda files is racy when parallelized
and produced variations in lib/obstack.gcda sed/sed-compile.gcda
and resulting .o files and sed binary

OBS-URL: https://build.opensuse.org/request/show/596431
OBS-URL: https://build.opensuse.org/package/show/Base:System/sed?expand=0&rev=34
This commit is contained in:
Stanislav Brabec 2018-04-17 15:00:08 +00:00 committed by Git OBS Bridge
parent 6636244e5b
commit c2c749a306
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Apr 14 03:42:05 UTC 2018 - bwiedemann@suse.com
- Make package build reproducible (boo#1040589)
-------------------------------------------------------------------
Sun Apr 1 11:59:30 UTC 2018 - astieger@suse.com

View File

@ -53,9 +53,9 @@ export CFLAGS="%{optflags} %{warn_flags} -fPIE"
export LDFLAGS="-pie"
%configure \
--without-included-regex
%if %{do_profiling}
%if 0%{?do_profiling}
make %{?_smp_mflags} CFLAGS="$CFLAGS %{cflags_profile_generate}" V=1
make %{?_smp_mflags} CFLAGS="$CFLAGS %{cflags_profile_generate}" check
make CFLAGS="$CFLAGS %{cflags_profile_generate}" check
make %{?_smp_mflags} clean
make %{?_smp_mflags} CFLAGS="$CFLAGS %{cflags_profile_feedback}" V=1
%else