diff --git a/binutils.spec b/binutils.spec index 03a98ac..20c484e 100644 --- a/binutils.spec +++ b/binutils.spec @@ -17,7 +17,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.21.51.0.6 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -158,7 +158,7 @@ echo target is %{binutils_target} export CFLAGS="$RPM_OPT_FLAGS" CARGS= -case %{binutils_target} in i?86*|sparc*|ppc*|s390*|sh*) +case %{binutils_target} in i?86*|sparc*|ppc*|s390*|sh*|arm*) CARGS="$CARGS --enable-64-bit-bfd" ;; esac @@ -261,7 +261,7 @@ rm -f %{buildroot}%{_libdir}/lib{bfd,opcodes}.la # Sanity check --enable-64-bit-bfd really works. grep '^#define BFD_ARCH_SIZE 64$' %{buildroot}%{_prefix}/include/bfd.h # Fix multilib conflicts of generated values by __WORDSIZE-based expressions. -%ifarch %{ix86} x86_64 ppc ppc64 s390 s390x sh3 sh4 sparc sparc64 +%ifarch %{ix86} x86_64 ppc ppc64 s390 s390x sh3 sh4 sparc sparc64 arm sed -i -e '/^#include "ansidecl.h"/{p;s~^.*$~#include ~;}' \ -e 's/^#define BFD_DEFAULT_TARGET_SIZE \(32\|64\) *$/#define BFD_DEFAULT_TARGET_SIZE __WORDSIZE/' \ -e 's/^#define BFD_HOST_64BIT_LONG [01] *$/#define BFD_HOST_64BIT_LONG (__WORDSIZE == 64)/' \ @@ -417,6 +417,9 @@ exit 0 %endif # %{isnative} %changelog +* Mon May 2 2011 Peter Robinson - 2.21.51.0.6-2 +- Add ARM to BFD checks + * Thu Feb 10 2011 Nick Clifton - 2.21.51.0.6-1 - Rebase on 2.21.51.0.6 tarball.