[avr-binutils/f19] fix aarch64 support (#925061)
Michal Hlavinka
mhlavink at fedoraproject.org
Fri Apr 19 14:26:58 UTC 2013
commit e12388e1f154cd13b81fd6795ff1adc44c0c0ee2
Author: Michal Hlavinka <mhlavink at redhat.com>
Date: Fri Apr 19 16:26:18 2013 +0200
fix aarch64 support (#925061)
avr-binutils.spec | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
---
diff --git a/avr-binutils.spec b/avr-binutils.spec
index c39ec7e..33d0ea7 100644
--- a/avr-binutils.spec
+++ b/avr-binutils.spec
@@ -2,7 +2,7 @@
Name: %{target}-binutils
Version: 2.23.1
-Release: 2%{?dist}
+Release: 3%{?dist}
Epoch: 1
Summary: Cross Compiling GNU binutils targeted at %{target}
Group: Development/Tools
@@ -14,6 +14,8 @@ Source1: README.fedora
Patch1: http://distribute.atmel.no/tools/opensource/avr-gcc/binutils-2.20.1/30-binutils-2.20.1-avr-size.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(%{__id_u} -n)
BuildRequires: gawk texinfo
+#for autoreconf:
+BuildRequires: gettext-devel autoconf automake
Provides: bundled(libiberty)
%description
@@ -31,6 +33,13 @@ cp %{SOURCE1} .
%build
+pushd binutils-%{version}
+acv=$(autoreconf --version | head -n1)
+acv=${acv##* }
+sed -i "/_GCC_AUTOCONF_VERSION/s/2.64/$acv/" config/override.m4
+autoreconf -fiv
+popd
+
mkdir -p build
pushd build
CFLAGS="$RPM_OPT_FLAGS" ../binutils-%{version}/configure --prefix=%{_prefix} \
@@ -66,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Fri Apr 19 2013 Michal Hlavinka <mhlavink at redhat.com> - 1:2.23.1-3
+- fix aarch64 support (#925061)
+
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1:2.23.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
More information about the scm-commits
mailing list