]> git.pld-linux.org Git - packages/crossavr-gcc.git/commitdiff
- HEAD merge for atmega256x
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 10 Apr 2007 19:33:00 +0000 (19:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    crossavr-gcc.spec -> 1.24.2.2

crossavr-gcc.spec

index f973ed2f291528ab8669b58224b446417739b654..1bcefe2f8920a50435b5c305c3497ba960e34b52 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with    bootstrap       # for bootstraping
+#
 Summary:       Cross AVR GNU binary utility development utilities - gcc
 Summary(es):   Utilitarios para desarrollo de binarios de la GNU - AVR gcc
 Summary(fr):   Utilitaires de développement binaire de GNU - AVR gcc
@@ -5,7 +9,14 @@ Summary(pl):   Skro
 Summary(tr):   GNU geliþtirme araçlarý - AVR gcc
 Name:          crossavr-gcc
 Version:       4.1.2
-Release:       2
+Release:       3
+Patch0:                %{name}-0b-constants.patch
+Patch1:                %{name}-attribute_alias.patch
+Patch2:                %{name}-bug25672.patch
+Patch3:                %{name}-dwarf.patch
+Patch4:                %{name}-libiberty-Makefile.in.patch
+Patch5:                %{name}-newdevices.patch
+Patch6:                %{name}-zz-atmega256x.patch
 Epoch:         1
 License:       GPL
 Group:         Development/Languages
@@ -16,7 +27,8 @@ BuildRequires:        autoconf
 BuildRequires: bison
 BuildRequires: crossavr-binutils
 BuildRequires: flex
-Requires:      crossavr-binutils
+Requires:      crossavr-binutils >= 2.15.91.0.2
+%{!?with_boostrap:Requires:    crossavr-libc}
 Requires:      gcc-dirs
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -52,6 +64,13 @@ Ten pakiet dodaje obs
 
 %prep
 %setup -q -n gcc-%{version}
+%patch0 -p0
+%patch1 -p0
+%patch2 -p0
+%patch3 -p0
+%patch4 -p0
+%patch5 -p0
+%patch6 -p0
 
 %build
 rm -rf obj-%{target}
@@ -71,6 +90,7 @@ TEXCONFIG=false \
        --disable-shared \
        --disable-libssp \
        --enable-languages="c,c++" \
+       --with-dwarf2 \
        --with-gnu-as \
        --with-gnu-ld \
        --with-system-zlib \
@@ -112,7 +132,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/%{target}-gcc*
 %attr(755,root,root) %{_bindir}/%{target}-cpp
 %attr(755,root,root) %{_bindir}/%{target}-gcov
-%dir %{arch}
 %dir %{gccarch}
 %dir %{gcclib}
 %attr(755,root,root) %{gcclib}/cc1
This page took 0.039213 seconds and 4 git commands to generate.