summaryrefslogtreecommitdiffstats
path: root/scripts/gcc3newlib/gccnewlib.add
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-04-12 06:26:25 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-04-12 06:26:25 +0000
commit7b5b8d0b370d32720226fdbf3304d4776b645833 (patch)
treeef0dc03ae32dae91ed6ef519ecee028603b3a5a5 /scripts/gcc3newlib/gccnewlib.add
parentEliminate @PATCH2@. (diff)
downloadrtems-7b5b8d0b370d32720226fdbf3304d4776b645833.tar.bz2
Eliminate @PATCH2@, @PATCH4@.
Diffstat (limited to 'scripts/gcc3newlib/gccnewlib.add')
-rw-r--r--scripts/gcc3newlib/gccnewlib.add5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/gcc3newlib/gccnewlib.add b/scripts/gcc3newlib/gccnewlib.add
index 6e0431e1c4..ccae5ffcb7 100644
--- a/scripts/gcc3newlib/gccnewlib.add
+++ b/scripts/gcc3newlib/gccnewlib.add
@@ -159,9 +159,8 @@ This is gcc's and newlib C Library's sources with patches for RTEMS.
%prep
# untar the sources inside %{gcc_target}-gcc-newlib
%setup -c -T -n %{name}-%{version} -a0 -a1
-
-@PATCH2@
-@PATCH4@
+%{?PATCH0:%patch0 -p0}
+%{?PATCH1:%patch1 -p0}
cd gcc-%{gcc_version}
sed -e 's/\(version_string = \"[^\"]*\)/\1 (RTEMS gcc-%{gcc_version}-@gcc_patch_version@\/newlib-%{newlib_version}-@newlib_patch_version@-@Release@)/' \