source: rtems/contrib/crossrpms/gcc/prep.add @ 06fb9c3

4.104.114.84.95
Last change on this file since 06fb9c3 was 06fb9c3, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 24, 2006 at 3:27:07 PM

Add @PREP@, remove RTEMS version magic

  • Property mode set to 100644
File size: 859 bytes
Line 
1%prep
2%setup -c -T -n %{name}-%{version}
3
4%setup -q -T -D -n %{name}-%{version} -a0
5%{?PATCH0:%patch0 -p0}
6
7%if %build_cxx
8%setup -q -T -D -n %{name}-%{version} -a1
9%{?PATCH1:%patch1 -p0}
10%endif
11
12%if %build_f95
13%setup -q -T -D -n %{name}-%{version} -a2
14%{?PATCH2:%patch2 -p0}
15%endif
16
17%if %build_gcj
18%setup -q -T -D -n %{name}-%{version} -a3
19%{?PATCH3:%patch3 -p0}
20%endif
21
22%if %build_gnat
23%setup -q -T -D -n %{name}-%{version} -a4
24%{?PATCH4:%patch4 -p0}
25%endif
26
27%if %build_objc
28%setup -T -D -n %{name}-%{version} -a5
29%{?PATCH5:%patch5 -p0}
30%endif
31
32%if %build_newlib
33%setup -q -T -D -n %{name}-%{version} -a50
34cd newlib-%{newlib_version}
35%{?PATCH50:%patch50 -p1}
36cd ..
37  # Copy the C library into gcc's source tree
38  ln -s ../newlib-%{newlib_version}/newlib gcc-%{gcc_version}
39%endif
40
41@PREP@
42
43  # Fix timestamps
44  gcc-%{gcc_version}/contrib/gcc_update --touch
45
Note: See TracBrowser for help on using the repository browser.