Commit 6c80a645 by Alexandre Oliva Committed by Alexandre Oliva

mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from interpreting $out as a macro assignment.

* mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
interpreting $out as a macro assignment.
* Makefile.in (T_TARGET): New auxiliary macro and target.
(all): Add a target right in the beginning, so that we don't build
T_TARGET by default.

From-SVN: r37342
parent 6a4afa6c
2000-11-09 Alexandre Oliva <aoliva@redhat.com>
* mklibgcc.in (EXTRA_MULTILIB_PARTS): Prevent `make' from
interpreting $out as a macro assignment.
* Makefile.in (T_TARGET): New auxiliary macro and target.
(all): Add a target right in the beginning, so that we don't build
T_TARGET by default.
2000-11-09 Graham Stott <grahams@redhat.com> 2000-11-09 Graham Stott <grahams@redhat.com>
* config/i386/i386.md (mmx_pinsrw): Output operands in correct * config/i386/i386.md (mmx_pinsrw): Output operands in correct
......
...@@ -24,6 +24,9 @@ ...@@ -24,6 +24,9 @@
# uninstall, TAGS, mostlyclean, clean, distclean, maintainer-clean, # uninstall, TAGS, mostlyclean, clean, distclean, maintainer-clean,
# stage1, stage2, stage3, stage4. # stage1, stage2, stage3, stage4.
# This is the default target.
all:
# Suppress smart makes who think they know how to automake Yacc files # Suppress smart makes who think they know how to automake Yacc files
.y.c: .y.c:
...@@ -562,6 +565,11 @@ CRT0STUFF_T_CFLAGS = ...@@ -562,6 +565,11 @@ CRT0STUFF_T_CFLAGS =
# "t" or nothing, for building multilibbed versions of, say, crtbegin.o. # "t" or nothing, for building multilibbed versions of, say, crtbegin.o.
T = T =
# Should T contain a `=', libgcc.mk will make T_TARGET, setting
# $(T_TARGET) to the name of the actual target filename.
T_TARGET =
T_TARGET : $(T_TARGET)
# End of variables for you to override. # End of variables for you to override.
# Definition of `all' is here so that new rules inserted by sed # Definition of `all' is here so that new rules inserted by sed
......
...@@ -363,13 +363,18 @@ for f in $EXTRA_MULTILIB_PARTS; do ...@@ -363,13 +363,18 @@ for f in $EXTRA_MULTILIB_PARTS; do
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`;
case $dir in case $dir in
.) out=$f ; t= ;; .) out=$f ; t= ;;
*) out="$dir/$f" ; t=$dir/ ;; *) out=$dir/$f ; t=$dir/ ;;
esac
case $out in
# Prevent `make' from interpreting $out as a macro assignment
*'$(EQ)'*) targ="T_TARGET=$out T_TARGET" ;;
*) targ=$out ;;
esac esac
echo $out: stmp-dirs echo $out: stmp-dirs
echo " $make_compile" \\ echo " $make_compile" \\
echo ' LIBGCC2_CFLAGS="$(LIBGCC2_CFLAGS)' $flags '" ' \\ echo ' LIBGCC2_CFLAGS="$(LIBGCC2_CFLAGS)' $flags '" ' \\
echo ' MULTILIB_CFLAGS="'$flags'"' T=$t $out echo ' MULTILIB_CFLAGS="'$flags'"' T=$t $targ
all="$all $out" all="$all $out"
done done
......
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