From c2c749a306d7441ca80eb5323b0c7325a74c0cf0a63240e91bd019be2458bce4 Mon Sep 17 00:00:00 2001 From: Stanislav Brabec Date: Tue, 17 Apr 2018 15:00:08 +0000 Subject: [PATCH] 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 --- sed.changes | 5 +++++ sed.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sed.changes b/sed.changes index 26de8ca..b10c083 100644 --- a/sed.changes +++ b/sed.changes @@ -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 diff --git a/sed.spec b/sed.spec index 530ca95..7ec4dae 100644 --- a/sed.spec +++ b/sed.spec @@ -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