Commit 3e6fa9ac by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

mklibgcc.in (building libgcc1): Do not use unset variables $src and $dst.

	* mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
	variables $src and $dst.

From-SVN: r33891
parent 856b6244
Sun May 14 17:58:59 2000 Hans-Peter Nilsson <hp@axis.com>
* mklibgcc.in (building libgcc1) [Xlibgcc1.a]: Do not use unset
variables $src and $dst.
2000-05-13 Gabriel Dos Reis <gdr@codesourcery.com> 2000-05-13 Gabriel Dos Reis <gdr@codesourcery.com>
* diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro. * diagnostic.h (DIAGNOSTICS_SHOW_PREFIX_ONCE): New macro.
......
...@@ -106,11 +106,10 @@ case X"$LIBGCC1" in ...@@ -106,11 +106,10 @@ case X"$LIBGCC1" in
echo $out: $libgcc1_c_dep echo $out: $libgcc1_c_dep
if [ -z "@NO_MINUS_C_MINUS_O@" ]; then if [ -z "@NO_MINUS_C_MINUS_O@" ]; then
echo " $oldcc_compile" $flags -c $src -o $dst echo " $oldcc_compile" $flags -c libgcc1.c -o $out
else else
echo " $oldcc_compile" $flags -c $src echo " $oldcc_compile" $flags -c libgcc1.c
tmp=`echo $src | sed -e 's/[.]c$/'${objext}/ -e 's,.*/,,'` echo " mv libgcc1${objext} $out"
echo " mv $tmp $dst"
fi fi
libgcc1_objs="$libgcc1_objs ${name}${objext}" libgcc1_objs="$libgcc1_objs ${name}${objext}"
...@@ -130,8 +129,8 @@ case X"$LIBGCC1" in ...@@ -130,8 +129,8 @@ case X"$LIBGCC1" in
echo " $oldcc_compile" -c $file -o $out echo " $oldcc_compile" -c $file -o $out
else else
echo " $oldcc_compile" -c $file echo " $oldcc_compile" -c $file
tmp=`echo $src | sed -e 's/[.][cs]$/'${objext}/ -e 's,.*/,,'` tmp=`echo $file | sed -e 's/[.][cs]$/'${objext}/ -e 's,.*/,,'`
echo " mv $tmp $dst" echo " mv $tmp $out"
fi fi
libgcc1_objs="$libgcc1_objs ${name}${objext}" libgcc1_objs="$libgcc1_objs ${name}${objext}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment