From 07cf62a3a6f8a3fa992db76f33bdc86ba06ad4ad Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 18 May 2005 15:46:00 +0000 Subject: Correct patch handling magic. --- scripts/gccnewlib/mkspec.in | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'scripts/gccnewlib/mkspec.in') 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 -- cgit v1.2.3