]> git.pld-linux.org Git - packages/crossarm-binutils.git/blobdiff - crossarm-binutils.spec
- updated to 2.17.50.0.5.
[packages/crossarm-binutils.git] / crossarm-binutils.spec
index 0ad435ced5144c8a7cd311dae57250d994346b08..fa9a14116803a8418235ccc7288f8b82bc1996a0 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_with    eabi            # build with Embedded ABI support
+%bcond_without eabi    # build without Embedded ABI support
 #
 Summary:       Cross ARM GNU binary utility development utilities - binutils
 Summary(es):   Utilitarios para desarrollo de binarios de la GNU - ARM binutils
@@ -9,12 +9,14 @@ Summary(pl):  Skro
 Summary(pt_BR):        Utilitários para desenvolvimento de binários da GNU - ARM binutils
 Summary(tr):   GNU geliþtirme araçlarý - ARM binutils
 Name:          crossarm-binutils
-Version:       2.16.90.0.2
+Version:       2.17.50.0.5
 Release:       1%{?with_eabi:eabi}
 License:       GPL
 Group:         Development/Tools
 Source0:       ftp://ftp.kernel.org/pub/linux/devel/binutils/binutils-%{version}.tar.bz2
-# Source0-md5: 4c03bb2c97fb06ecd5e8e8dbb44a1878
+# Source0-md5: 00eccd47e19a9f24410a137a849aa3fc
+Source1:       crossarm-lpc2104.ld
+Source2:       crossarm-lpc2106.ld
 URL:           http://sources.redhat.com/binutils/
 BuildRequires: automake
 BuildRequires: bash
@@ -58,7 +60,7 @@ Ten pakiet zawiera wersj
 cp -f /usr/share/automake/config.sub .
 
 # ldscripts won't be generated properly if SHELL is not bash...
-CFLAGS="%{rpmcflags}" \
+CFLAGS="%{rpmcflags} -fno-strict-aliasing" \
 LDFLAGS="%{rpmldflags}" \
 CONFIG_SHELL="/bin/bash" \
 ./configure \
@@ -84,6 +86,9 @@ install -d $RPM_BUILD_ROOT%{_prefix}
        infodir=$RPM_BUILD_ROOT%{_infodir} \
        libdir=$RPM_BUILD_ROOT%{_libdir}
 
+install %{SOURCE1} $RPM_BUILD_ROOT%{arch}/lib/ldscripts/lpc2104.ld
+install %{SOURCE2} $RPM_BUILD_ROOT%{arch}/lib/ldscripts/lpc2106.ld
+
 # remove these man pages unless we cross-build for win*/netware platforms.
 # however, this should be done in Makefiles.
 rm -f $RPM_BUILD_ROOT%{_mandir}/man1/{*dlltool,*nlmconv,*windres}.1
This page took 0.085872 seconds and 4 git commands to generate.