aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2002-12-23 17:53:41 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2002-12-23 17:53:41 +0000
commit6dbec167569ac5c9c34e23be1123f81b9d46e76f (patch)
tree34395a6c8492c0889a60ad9e4405e16ca1680131 /configure.in
parente2ddab05fcec84894cf6387a568c311b07e61e2d (diff)
downloadnewlib-6dbec167569ac5c9c34e23be1123f81b9d46e76f.zip
newlib-6dbec167569ac5c9c34e23be1123f81b9d46e76f.tar.gz
newlib-6dbec167569ac5c9c34e23be1123f81b9d46e76f.tar.bz2
2002-12-23 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Use shared multilib.out. Use move-if-change for it. Convert (cd foo; make) to (cd foo && make). Clean up multilib.out. * Makefile.in: Regenerate. * configure.in: Remove unnecessary leftovers. 2002-12-22 Geoffrey Keating <geoffk@apple.com> * config/mt-aix43: Delete. 2002-12-21 Geoffrey Keating <geoffk@apple.com> * configure.in (extra_ranlibflags_for_target): New variable. (*-*-darwin): Add -c to ranlib commands. * configure (tooldir): Handle extra_ranlibflags_for_target.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 5 insertions, 7 deletions
diff --git a/configure.in b/configure.in
index 82cca6c..107b756 100644
--- a/configure.in
+++ b/configure.in
@@ -1146,6 +1146,7 @@ fi
extra_arflags_for_target=
extra_nmflags_for_target=
+extra_ranlibflags_for_target=
case "${target}" in
i[3456]86-*-netware*)
target_makefile_frag="config/mt-netware"
@@ -1163,6 +1164,10 @@ case "${target}" in
extra_arflags_for_target=" -X32_64"
extra_nmflags_for_target=" -B -X32_64"
;;
+ *-*-darwin*)
+ # ranlib from Darwin requires the -c flag to look at common symbols.
+ extra_ranlibflags_for_target=" -c"
+ ;;
mips*-*-pe | sh*-*-pe | *arm-wince-pe)
target_makefile_frag="config/mt-wince"
;;
@@ -1698,12 +1703,6 @@ qRAW_CXX_FOR_TARGET=`echo "$RAW_CXX_FOR_TARGET" | sed 's,[&%],\\\&,g'`
qqCXX_FOR_TARGET=`echo "$qCXX_FOR_TARGET" | sed -e 's,[$][$],$$$$,g'`
qqRAW_CXX_FOR_TARGET=`echo "$qRAW_CXX_FOR_TARGET" | sed -e 's,[$][$],$$$$,g'`
-# BASE_CC_FOR_TARGET is the actual program file of CC_FOR_TARGET,
-# for use in dependencies. Replace $$r with a relative
-# path if it's present.
-set dummy $CC_FOR_TARGET; cc_for_target_first_word=$2
-BASE_CC_FOR_TARGET=`echo "$cc_for_target_first_word" | sed -e 's,[$][$]r,.,'`
-
sedtemp=sed.$$
cat >$sedtemp <<EOF
s%@GDB_TK@%${GDB_TK}%
@@ -1722,7 +1721,6 @@ s:@target_configdirs@:${target_configdirs}:
s%@target_configargs@%${targargs}%
s%@FLAGS_FOR_TARGET@%${FLAGS_FOR_TARGET}%
s%@CC_FOR_TARGET@%\$(STAGE_CC_WRAPPER) ${CC_FOR_TARGET}%
-s%@BASE_CC_FOR_TARGET@%${BASE_CC_FOR_TARGET}%
s%@GCJ_FOR_TARGET@%\$(STAGE_CC_WRAPPER) ${GCJ_FOR_TARGET}%
s%@CXX_FOR_TARGET@%\$(STAGE_CC_WRAPPER) ${qCXX_FOR_TARGET}%
s%@RAW_CXX_FOR_TARGET@%\$(STAGE_CC_WRAPPER) ${qRAW_CXX_FOR_TARGET}%