Ignore:
Timestamp:
May 1, 2008, 8:13:14 AM (12 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.9, master
Children:
2905296
Parents:
1acb6ba
Message:

Regenerate.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/rtems4.9/avr/rtems-4.9-avr-rtems4.9-gcc.spec

    r1acb6ba r5633d25f  
    1414%endif
    1515
     16%ifos cygwin cygwin32
     17%define optflags -O3 -pipe -march=i486 -funroll-loops
     18%define _libdir                 %{_exec_prefix}/lib
     19%define debug_package           %{nil}
     20%endif
     21
     22%if "%{_build}" != "%{_host}"
     23%define _host_rpmprefix rtems-4.9-%{_host}-
     24%else
     25%define _host_rpmprefix %{nil}
     26%endif
     27
    1628
    1729%define gcc_pkgvers 4.3.0
     
    2941Group:          Development/Tools
    3042Version:        %{gcc_rpmvers}
    31 Release:        11%{?dist}
     43Release:        12%{?dist}
    3244License:        GPL
    3345URL:            http://gcc.gnu.org
     
    3648%define _use_internal_dependency_generator 0
    3749
     50BuildRequires:  %{_host_rpmprefix}gcc
     51
    3852%if "%{gcc_version}" >= "4.3.0"
    3953BuildRequires:  gmp-devel >= 4.1
     54%if "%{_build}" != "%{_host}"
     55BuildRequires:  %{_host_rpmprefix}gmp-devel
     56BuildRequires:  %{_host_rpmprefix}mpfr-devel
     57%endif
    4058%if "%{?fedora}" >= "8"
    4159BuildRequires:  mpfr-devel >= 2.3.0
     
    4866%{?suse10_2:%define     _build_mpfr     1}
    4967%{?suse10_3:%define     _build_mpfr     1}
     68%endif
     69
     70%if "%{_build}" != "%{_host}"
     71BuildRequires:  rtems-4.9-avr-rtems4.9-gcc
    5072%endif
    5173
     
    7395%if "%{gcc_version}" == "4.3.0"
    7496Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/%{gcc_pkgvers}/gcc-core-%{gcc_pkgvers}.tar.bz2
    75 Patch0:         gcc-core-%{gcc_pkgvers}-rtems4.9-20080306.diff
     97Patch0:         gcc-core-%{gcc_pkgvers}-rtems4.9-20080501.diff
    7698%endif
    7799%if "%{gcc_version}" == "4.2.3"
     
    79101Patch0:         gcc-core-4.2.3-rtems4.9-20080205.diff
    80102%endif
    81 %if "%{gcc_version}" == "4.0.4"
    82 Source0:        ftp://ftp.gnu.org/pub/gnu/gcc/gcc-%{gcc_version}/gcc-core-%{gcc_pkgvers}.tar.bz2
    83 Patch0:         gcc-core-4.0.4-rtems4.9-20071111.diff
    84 %endif
    85103%{?_without_sources:NoSource:   0}
    86104
    87105Source50:       ftp://sources.redhat.com/pub/newlib/newlib-%{newlib_version}.tar.gz
    88106%if "%{newlib_version}" == "1.16.0"
    89 Patch50:        newlib-1.16.0-rtems4.9-20080302.diff
     107Patch50:        newlib-1.16.0-rtems4.9-20080430.diff
    90108%endif
    91109%{?_without_sources:NoSource:   50}
     
    144162  languages="c"
    145163  export PATH="%{_bindir}:${PATH}"
    146 
     164%if "%{_build}" != "%{_host}"
     165  CFLAGS_FOR_BUILD="-g -O2 -Wall" \
     166  CC="%{_host}-gcc ${RPM_OPT_FLAGS}" \
     167%else
    147168  CC="%{__cc} ${RPM_OPT_FLAGS}" \
     169%endif
    148170  ../gcc-%{gcc_pkgvers}/configure \
    149171    --prefix=%{_prefix} \
     
    416438
    417439%description -n rtems-4.9-gcc-common
    418 
    419440GCC files that are shared by all targets.
    420441
Note: See TracChangeset for help on using the changeset viewer.