Changeset 3f1545b in rtems


Ignore:
Timestamp:
Aug 22, 2011, 4:02:24 PM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.11, 5, master
Children:
dad36c52
Parents:
8c43f3d
Message:

Treat SOURCE<N> conditional.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/gcc/prep.add

    r8c43f3d r3f1545b  
    88
    99%if %build_cxx
    10 %setup -q -T -D -n %{name}-%{version} -a1
     10%{?SOURCE1:%setup -q -T -D -n %{name}-%{version} -a1}
    1111cd gcc-%{gcc_pkgvers}
    1212%{?PATCH1:%patch1 -p1}
     
    1515
    1616%if %build_fortran
    17 %setup -q -T -D -n %{name}-%{version} -a2
     17%{?SOURCE2:%setup -q -T -D -n %{name}-%{version} -a2}
    1818%{?PATCH2:%patch2 -p0}
    1919%endif
    2020
    2121%if %build_gcj
    22 %setup -q -T -D -n %{name}-%{version} -a3
     22%{?SOURCE3:%setup -q -T -D -n %{name}-%{version} -a3}
    2323%{?PATCH3:%patch3 -p0}
    2424%endif
    2525
    2626%if %build_gnat
    27 %setup -q -T -D -n %{name}-%{version} -a4
     27%{?SOURCE4:%setup -q -T -D -n %{name}-%{version} -a4}
    2828%{?PATCH4:%patch4 -p0}
    2929%endif
    3030
    3131%if %build_objc
    32 %setup -q -T -D -n %{name}-%{version} -a5
     32%{?SOURCE5:%setup -q -T -D -n %{name}-%{version} -a5}
    3333%{?PATCH5:%patch5 -p0}
    3434%endif
    3535
    3636%if %build_go
    37 %setup -q -T -D -n %{name}-%{version} -a6
     37%{?SOURCE6:%setup -q -T -D -n %{name}-%{version} -a6}
    3838%{?PATCH6:%patch6 -p0}
    3939
Note: See TracChangeset for help on using the changeset viewer.