source: rtems/contrib/crossrpms/gcc/prep.add @ 81f386b

4.104.115
Last change on this file since 81f386b was 81f386b, checked in by Ralf Corsepius <ralf.corsepius@…>, on 11/04/08 at 07:54:58

Silence unpackaging objc.

  • Property mode set to 100644
File size: 1.0 KB
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 -q -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_pkgvers}
39%endif
40
41%if 0%{?_build_mpfr}
42%setup -q -T -D -n %{name}-%{version} -a60
43%{?PATCH60:%patch60 -p1}
44  # Build mpfr one-tree style
45  ln -s ../mpfr-%{mpfr_version} gcc-%{gcc_pkgvers}/mpfr
46%endif
47
48@PREP@
49
50  # Fix timestamps
51  cd gcc-%{gcc_pkgvers}
52  contrib/gcc_update --touch
53  cd ..
Note: See TracBrowser for help on using the repository browser.