summaryrefslogtreecommitdiff
path: root/gcc/mklibgcc.in
diff options
context:
space:
mode:
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-03 15:11:56 +0000
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-03 15:11:56 +0000
commitf51a671cb6dfdabb5cce570383ef2c1f7020703c (patch)
tree0d8a8f9bb32e2a7ae4d568541aba4cf644989e64 /gcc/mklibgcc.in
parent0a2485f384059073c31082b0b2e32f6a9f337378 (diff)
downloadgcc-f51a671cb6dfdabb5cce570383ef2c1f7020703c.tar.gz
2004-12-03 H.J. Lu <hongjiu.lu@intel.com>
* mklibgcc.in: Put back the default set of EXTRA_MULTILIB_PART. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91684 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/mklibgcc.in')
-rw-r--r--gcc/mklibgcc.in58
1 files changed, 28 insertions, 30 deletions
diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in
index 916a0f5e3f0..cfef2bfc2c4 100644
--- a/gcc/mklibgcc.in
+++ b/gcc/mklibgcc.in
@@ -666,36 +666,34 @@ for ml in $MULTILIBS; do
# simultaneous goal targets, so that rules which cannot execute
# simultaneously are properly serialized.
- # We don't need to build the default ones since they have been
- # built before we get here.
- if [ $dir != "." ]; then
- extra=
- t=$dir/
- echo
- for f in $EXTRA_MULTILIB_PARTS; do
- out=$dir/$f
- case $out in
- # Prevent `make' from interpreting $out as a macro assignment
- *'$(EQ)'*) targ="T_TARGET=$out T_TARGET" ;;
- *) targ=$out ;;
- esac
- extra="$extra $targ"
- done
-
- echo extra$suffix: stmp-dirs
- echo " $make_compile" \\
- echo ' LIBGCC2_CFLAGS="$(LIBGCC2_CFLAGS)' $flags '" ' \\
- echo ' MULTILIB_CFLAGS="'$flags'"' T=$t $extra
- echo "all: extra$suffix"
-
- # Make libunwind.so and libgcc_s.so depend on these, since they
- # are likely to be implicitly used by the link process.
- if [ "$libgcc_s_so" ]; then
- echo "$libgcc_s_so: extra$suffix"
- fi
- if [ "$libunwind_so" ]; then
- echo "$libunwind_so: extra$suffix"
- fi
+ extra=
+ echo
+ for f in $EXTRA_MULTILIB_PARTS; do
+ case $dir in
+ .) out=$f ; t= ;;
+ *) 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
+ extra="$extra $targ"
+ done
+
+ echo extra$suffix: stmp-dirs
+ echo " $make_compile" \\
+ echo ' LIBGCC2_CFLAGS="$(LIBGCC2_CFLAGS)' $flags '" ' \\
+ echo ' MULTILIB_CFLAGS="'$flags'"' T=$t $extra
+ echo "all: extra$suffix"
+
+ # Make libunwind.so and libgcc_s.so depend on these, since they
+ # are likely to be implicitly used by the link process.
+ if [ "$libgcc_s_so" ]; then
+ echo "$libgcc_s_so: extra$suffix"
+ fi
+ if [ "$libunwind_so" ]; then
+ echo "$libunwind_so: extra$suffix"
fi
fi