From 7b5b8d0b370d32720226fdbf3304d4776b645833 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 12 Apr 2005 06:26:25 +0000 Subject: Eliminate @PATCH2@, @PATCH4@. --- scripts/gcc3newlib/mkspec.in | 4 ---- 1 file changed, 4 deletions(-) (limited to 'scripts/gcc3newlib/mkspec.in') diff --git a/scripts/gcc3newlib/mkspec.in b/scripts/gcc3newlib/mkspec.in index 8aa0ff80d9..9c4a6556dd 100644 --- a/scripts/gcc3newlib/mkspec.in +++ b/scripts/gcc3newlib/mkspec.in @@ -52,20 +52,16 @@ patchn=-1 if test -n "${gcc3_patch_version}"; then patchn=`expr $patchn + 1` PATCH1="Patch${patchn}: gcc-${gcc3_version}-rtems-${gcc3_patch_version}.diff" -PATCH2="%patch${patchn} -p0" fi if test -n "${gcc3newlib_patch_version}"; then patchn=`expr $patchn + 1` PATCH3="Patch${patchn}: newlib-${gcc3newlib_version}-rtems-${gcc3newlib_patch_version}.diff" -PATCH4="%patch${patchn} -p0" fi # note that the variables in the gcc3newlib directory are actually the same sed -e "s,@PATCH1\@,${PATCH1}," \ - -e "s,@PATCH2\@,${PATCH2}," \ -e "s,@PATCH3\@,${PATCH3}," \ - -e "s,@PATCH4\@,${PATCH4}," \ -e "s%@Release\@%${gcc3newlib_rpm_release}%g" \ -e "s%@target_alias\@%${target_alias}%g" \ -e "s%@prefix\@%@prefix@%g" \ -- cgit v1.2.3