From 9aa667dddef19643f015266511ca54dcb18d7008 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 5 Jul 2013 11:11:18 +0100 Subject: [PATCH] Add a requirement for libstdc++-static when running the GOLD testsuite. --- binutils.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/binutils.spec b/binutils.spec index 5ea52fa..778f207 100644 --- a/binutils.spec +++ b/binutils.spec @@ -27,7 +27,7 @@ Name: %{?cross}binutils%{?_with_debug:-debug} # official binutils release happens (2.24.0) we will be able to restore # Version to an honest value and everything will be good again. Version: 2.23.88.0.1 -Release: 6%{?dist} +Release: 7%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -100,6 +100,10 @@ BuildRequires: /usr/bin/pod2man %if %{run_testsuite} # relro_test.sh uses dc which is part of the bc rpm, hence its inclusion here. BuildRequires: dejagnu, zlib-static, glibc-static, sharutils, bc +%if "%{build_gold}" == "both" +# The GOLD testsuite needs a static libc++ +BuildRequires: libstdc++-static +%endif %endif Conflicts: gcc-c++ < 4.0.0 Requires(post): /sbin/install-info @@ -489,6 +493,9 @@ exit 0 %endif # %{isnative} %changelog +* Fri Jul 07 2013 Nick Clifton - 2.23.88.0.1-7 +- Add a requirement for libstdc++-static when running the GOLD testsuite. + * Wed Jun 05 2013 Nick Clifton - 2.23.88.0.1-6 - Fix building of aarch64 targets after applying the patch for kernel ld -r modules. - Fix building when "--with debug" is specified.