summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
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