summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scripts/gccnewlib/mkspec.in7
1 files changed, 2 insertions, 5 deletions
diff --git a/scripts/gccnewlib/mkspec.in b/scripts/gccnewlib/mkspec.in
index 9dff9f10cd..3acd642ecf 100644
--- a/scripts/gccnewlib/mkspec.in
+++ b/scripts/gccnewlib/mkspec.in
@@ -48,15 +48,12 @@ target_alias=$1
. ./$CFG
-patchn=-1
if test -n "${gcc_patch_version}"; then
-patchn=`expr $patchn + 1`
-PATCH1="Patch${patchn}: gcc-${gcc_version}-rtems-${gcc_patch_version}.diff"
+PATCH0="Patch0: gcc-${gcc_version}-rtems-${gcc_patch_version}.diff"
fi
if test -n "${newlib_patch_version}"; then
-patchn=`expr $patchn + 1`
-PATCH3="Patch${patchn}: newlib-${newlib_version}-rtems-${newlib_patch_version}.diff"
+PATCH1="Patch1: newlib-${newlib_version}-rtems-${newlib_patch_version}.diff"
fi
# note that the variables in the gccnewlib directory are actually the same