summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-04-03 06:30:56 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-04-03 06:30:56 +0000
commit7c8ac8797cc867aaa8e3aa4247ad78fb63006320 (patch)
treea1ec10b83605afe41a86bbed3a9601d4f61a1e26 /contrib
parentReflect /go subdir handling having move into install.add. (diff)
downloadrtems-7c8ac8797cc867aaa8e3aa4247ad78fb63006320.tar.bz2
Add support for gcc-go tarballs.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/gcc/prep.add5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/crossrpms/gcc/prep.add b/contrib/crossrpms/gcc/prep.add
index 2aa7a7756e..aab6e6dc7b 100644
--- a/contrib/crossrpms/gcc/prep.add
+++ b/contrib/crossrpms/gcc/prep.add
@@ -33,6 +33,11 @@ cd ..
%{?PATCH5:%patch5 -p0}
%endif
+%if %build_go
+%setup -q -T -D -n %{name}-%{version} -a6
+%{?PATCH6:%patch6 -p0}
+%endif
+
%if %{with gcc_stdint}
sed -i -e '/thread_file=.*rtems/,/use_gcc_stdint=wrap/ { s/use_gcc_stdint=wrap/use_gcc_stdint=provide/}' gcc-%{gcc_pkgvers}/gcc/config.gcc
%endif