diff --git a/bash.changes b/bash.changes index 2a400cf7..e810981b 100644 --- a/bash.changes +++ b/bash.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu May 25 17:33:36 UTC 2017 - bwiedemann@suse.com + +- Make build reproducible in spite of profile based optimizations (boo#1040589) + ------------------------------------------------------------------- Wed May 24 12:42:20 UTC 2017 - bwiedemann@suse.com diff --git a/bash.spec b/bash.spec index 9fd89daf..4f34b5a8 100644 --- a/bash.spec +++ b/bash.spec @@ -550,6 +550,7 @@ popd screen -D -m make TESTSCRIPT=%{SOURCE4} check kill -TERM $pid %if 0%{?do_profiling} + rm -f jobs.gcda profilecflags=CFLAGS="$CFLAGS %cflags_profile_feedback -fprofile-correction" clean=clean %endif