Commit 842391df by Alexandre Oliva Committed by Alexandre Oliva

mklibgcc.in (EQ): Define it to an equal sign in the Makefile...

* mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
and replace any occurrences of `=' in multilib dirs with `$(EQ)'.

From-SVN: r33862
parent efe7ef89
2000-05-11 Alexandre Oliva <aoliva@cygnus.com>
* mklibgcc.in (EQ): Define it to an equal sign in the Makefile,
and replace any occurrences of `=' in multilib dirs with `$(EQ)'.
2000-05-11 Jason Merrill <jason@casey.cygnus.com> 2000-05-11 Jason Merrill <jason@casey.cygnus.com>
* fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine. * fixinc/fixincl.c (run_compiles): Don't crash on null pz_machine.
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
# Make needs VPATH to be literal. # Make needs VPATH to be literal.
echo 'srcdir = @srcdir@' echo 'srcdir = @srcdir@'
echo 'VPATH = @srcdir@' echo 'VPATH = @srcdir@'
echo 'EQ = ='
echo echo
# Detect gcc as OLDCC. This indicates a target for which LIB1FUNCS # Detect gcc as OLDCC. This indicates a target for which LIB1FUNCS
...@@ -87,7 +88,7 @@ case X"$LIBGCC1" in ...@@ -87,7 +88,7 @@ case X"$LIBGCC1" in
Xlibgcc1-asm.a) Xlibgcc1-asm.a)
for name in $LIB1ASMFUNCS; do for name in $LIB1ASMFUNCS; do
for ml in $MULTILIBS; do for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'` dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${name}${objext}" out="libgcc/${dir}/${name}${objext}"
...@@ -150,7 +151,7 @@ libgcc2_objs="" ...@@ -150,7 +151,7 @@ libgcc2_objs=""
for name in $LIB2FUNCS; do for name in $LIB2FUNCS; do
for ml in $MULTILIBS; do for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'` dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${name}${objext}" out="libgcc/${dir}/${name}${objext}"
...@@ -163,7 +164,7 @@ done ...@@ -163,7 +164,7 @@ done
for name in $LIB2FUNCS_EH; do for name in $LIB2FUNCS_EH; do
for ml in $MULTILIBS; do for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'` dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${name}${objext}" out="libgcc/${dir}/${name}${objext}"
...@@ -177,7 +178,7 @@ done ...@@ -177,7 +178,7 @@ done
if [ "$FPBIT" ]; then if [ "$FPBIT" ]; then
for name in $FPBIT_FUNCS; do for name in $FPBIT_FUNCS; do
for ml in $MULTILIBS; do for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'` dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${name}${objext}" out="libgcc/${dir}/${name}${objext}"
...@@ -192,7 +193,7 @@ fi ...@@ -192,7 +193,7 @@ fi
if [ "$DPBIT" ]; then if [ "$DPBIT" ]; then
for name in $DPBIT_FUNCS; do for name in $DPBIT_FUNCS; do
for ml in $MULTILIBS; do for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'` dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${name}${objext}" out="libgcc/${dir}/${name}${objext}"
...@@ -214,7 +215,7 @@ for file in $LIB2ADD; do ...@@ -214,7 +215,7 @@ for file in $LIB2ADD; do
lastout="" lastout=""
for ml in $MULTILIBS; do for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'` dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${f}" out="libgcc/${dir}/${f}"
...@@ -234,7 +235,7 @@ for file in $LIB2ADD; do ...@@ -234,7 +235,7 @@ for file in $LIB2ADD; do
done done
else else
for ml in $MULTILIBS; do for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'` dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="libgcc/${dir}/${oname}${objext}" out="libgcc/${dir}/${oname}${objext}"
if [ ${name}.asm = ${file} ]; then if [ ${name}.asm = ${file} ]; then
...@@ -249,7 +250,7 @@ for file in $LIB2ADD; do ...@@ -249,7 +250,7 @@ for file in $LIB2ADD; do
done done
for ml in $MULTILIBS; do for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'` dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
libgcc_objs="" libgcc_objs=""
for o in $libgcc1_objs; do for o in $libgcc1_objs; do
...@@ -276,7 +277,7 @@ echo "" ...@@ -276,7 +277,7 @@ echo ""
all="" all=""
for ml in $MULTILIBS; do for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'` dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
if [ $dir = . ]; then if [ $dir = . ]; then
echo "libgcc:; mkdir libgcc" echo "libgcc:; mkdir libgcc"
all="$all libgcc" all="$all libgcc"
...@@ -291,7 +292,7 @@ done ...@@ -291,7 +292,7 @@ done
for f in $EXTRA_MULTILIB_PARTS; do for f in $EXTRA_MULTILIB_PARTS; do
lastout="" lastout=""
for ml in $MULTILIBS; do for ml in $MULTILIBS; do
dir=`echo ${ml} | sed -e 's/;.*$//'` dir=`echo ${ml} | sed -e 's/;.*$//' -e 's/=/$(EQ)/g'`
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
out="$dir/$f" out="$dir/$f"
......
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