source: rtems/contrib/crossrpms/cygwin/gcc-prep.add @ 09a43a73

4.104.115
Last change on this file since 09a43a73 was 09a43a73, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/25/10 at 05:30:01

Refactor patching.

  • Property mode set to 100644
File size: 228 bytes
Line 
1# cygwin patches can't be directly applied through rpm
2cd gcc-%{gcc_pkgvers}
3%if "%{gcc_version}" < "4.0"
4patch -p1 -t < %{PATCH70} || true
5%else
6patch -p2 -t < %{PATCH70} || true
7%endif
8%{?PATCH71:patch -p1 < %{PATCH71}}
9cd ..
Note: See TracBrowser for help on using the repository browser.