Do not enable deterministic archives by default

Resolves: #1195883
This commit is contained in:
Nick Clifton 2015-09-10 09:51:57 +01:00
parent 0e5924dcde
commit fe17c525e4

View File

@ -13,13 +13,14 @@
%define isnative 0 %define isnative 0
%define enable_shared 0 %define enable_shared 0
%endif %endif
# BZ 1124342: Enable deterministic archives by default. # BZ 1124342: Provide a way to enable deterministic archives.
%define enable_deterministic_archives 1 # BZ 1195883: But do not do this by default.
%define enable_deterministic_archives 0
Summary: A GNU collection of binary utilities Summary: A GNU collection of binary utilities
Name: %{?cross}binutils%{?_with_debug:-debug} Name: %{?cross}binutils%{?_with_debug:-debug}
Version: 2.25.1 Version: 2.25.1
Release: 4%{?dist} Release: 5%{?dist}
License: GPLv3+ License: GPLv3+
Group: Development/Tools Group: Development/Tools
URL: http://sources.redhat.com/binutils URL: http://sources.redhat.com/binutils
@ -273,6 +274,8 @@ CFLAGS="$CFLAGS -O0 -ggdb2 -Wno-error -D_FORTIFY_SOURCE=0"
%endif %endif
%if %{enable_deterministic_archives} %if %{enable_deterministic_archives}
--enable-deterministic-archives \ --enable-deterministic-archives \
%else
--enable-deterministic-archives=no \
%endif %endif
$CARGS \ $CARGS \
--enable-plugins \ --enable-plugins \
@ -494,6 +497,9 @@ exit 0
%endif # %{isnative} %endif # %{isnative}
%changelog %changelog
* Thu Sep 10 2015 Nick Clifton <nickc@redhat.com> 2.25.1-5
- Do not enable deterministic archives by default (#1195883)
* Thu Aug 06 2015 Rex Dieter <rdieter@fedoraproject.org> 2.25.1-4 * Thu Aug 06 2015 Rex Dieter <rdieter@fedoraproject.org> 2.25.1-4
- Qt linked with gold crash on startup (#1193044) - Qt linked with gold crash on startup (#1193044)