aboutsummaryrefslogtreecommitdiff
path: root/gcc/mklibgcc.in
diff options
context:
space:
mode:
authorGeoffrey Keating <geoffk@gcc.gnu.org>2003-01-10 22:13:05 +0000
committerGeoffrey Keating <geoffk@gcc.gnu.org>2003-01-10 22:13:05 +0000
commit6dd05d08c4940ed65cc4c98d7fbeef100a7ce515 (patch)
treeea1a5cdcb45309f0c4ace592a7d4beabb7602139 /gcc/mklibgcc.in
parent3466b2921e8c718007b5423f15d37183e32b01bd (diff)
downloadgcc-6dd05d08c4940ed65cc4c98d7fbeef100a7ce515.zip
gcc-6dd05d08c4940ed65cc4c98d7fbeef100a7ce515.tar.gz
gcc-6dd05d08c4940ed65cc4c98d7fbeef100a7ce515.tar.bz2
Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native.
* Makefile.in (RANLIB_FOR_TARGET): Use RANLIB when native. (RANLIB_TEST_FOR_TARGET): Delete. Don't pass down to sub-makes. Remove calls. * mklibgcc.in: Remove uses of RANLIB_TEST_FOR_TARGET. From-SVN: r61171
Diffstat (limited to 'gcc/mklibgcc.in')
-rw-r--r--gcc/mklibgcc.in10
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in
index 671dac1..a139bef 100644
--- a/gcc/mklibgcc.in
+++ b/gcc/mklibgcc.in
@@ -1,6 +1,6 @@
#!/bin/sh
# Construct makefile for libgcc.
-# Copyright (C) 2000, 2002 Free Software Foundation, Inc.
+# Copyright (C) 2000, 2002, 2003 Free Software Foundation, Inc.
#
# This file is part of GCC.
@@ -295,9 +295,7 @@ for ml in $MULTILIBS; do
echo "${dir}/libgcc.a: $libgcc_a_objs"
echo " -rm -rf ${dir}/libgcc.a"
echo ' $(AR_CREATE_FOR_TARGET)' ${dir}/libgcc.a $libgcc_a_objs
- echo ' if $(RANLIB_TEST_FOR_TARGET) ; then' \\
- echo ' $(RANLIB_FOR_TARGET)' ${dir}/libgcc.a ';' \\
- echo ' else true; fi;'
+ echo ' $(RANLIB_FOR_TARGET)' ${dir}/libgcc.a
if [ "$SHLIB_LINK" ]; then
@@ -305,9 +303,7 @@ for ml in $MULTILIBS; do
echo "${dir}/libgcc_eh.a: $libgcc_eh_objs"
echo " -rm -rf ${dir}/libgcc_eh.a"
echo ' $(AR_CREATE_FOR_TARGET)' ${dir}/libgcc_eh.a $libgcc_eh_objs
- echo ' if $(RANLIB_TEST_FOR_TARGET) ; then' \\
- echo ' $(RANLIB_FOR_TARGET)' ${dir}/libgcc_eh.a ';' \\
- echo ' else true; fi;'
+ echo ' $(RANLIB_FOR_TARGET)' ${dir}/libgcc_eh.a
if [ -z "$SHLIB_MULTILIB" ]; then
if [ "$dir" = . ]; then