From: Daniel Jacobowitz Date: Tue, 19 Apr 2005 19:53:26 +0000 (+0000) Subject: Makefile.in (libgcc.mk): Pass GCC_FOR_TARGET. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30ee829f8116d6a9cdd4c5ef2d5e8a51fb4154b2;p=platform%2Fupstream%2Fgcc.git Makefile.in (libgcc.mk): Pass GCC_FOR_TARGET. * Makefile.in (libgcc.mk): Pass GCC_FOR_TARGET. * mklibgcc.in: Use $GCC_FOR_TARGET instead of ./xgcc. From-SVN: r98420 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 99347ef..1e6eca8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-04-19 Daniel Jacobowitz + + * Makefile.in (libgcc.mk): Pass GCC_FOR_TARGET. + * mklibgcc.in: Use $GCC_FOR_TARGET instead of ./xgcc. + 2005-04-19 Paul Brook * config/arm/arm.c (arm_init_libfuncs): Clear mod optabs. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index b720a37..5e2e9c6 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1262,6 +1262,7 @@ libgcc.mk: config.status Makefile mklibgcc $(LIB2ADD) $(LIB2ADD_ST) xgcc$(exeext SHLIB_NM_FLAGS='$(SHLIB_NM_FLAGS)' \ MULTILIB_OSDIRNAMES='$(MULTILIB_OSDIRNAMES)' \ ASM_HIDDEN_OP='$(ASM_HIDDEN_OP)' \ + GCC_FOR_TARGET='$(GCC_FOR_TARGET)' \ mkinstalldirs='$(mkinstalldirs)' \ $(SHELL) mklibgcc > tmp-libgcc.mk mv tmp-libgcc.mk libgcc.mk diff --git a/gcc/mklibgcc.in b/gcc/mklibgcc.in index d4df66a..aa61d41 100644 --- a/gcc/mklibgcc.in +++ b/gcc/mklibgcc.in @@ -40,6 +40,7 @@ # SHLIB_INSTALL # MULTILIB_OSDIRNAMES # ASM_HIDDEN_OP +# GCC_FOR_TARGET # Make needs VPATH to be literal. echo 'srcdir = @srcdir@' @@ -178,7 +179,7 @@ for ml in $MULTILIBS; do if [ "$LIBUNWIND" ]; then libunwind_so=$dir/libunwind${SHLIB_EXT} fi - os_multilib_dir=`./xgcc -B./ $flags --print-multi-os-directory` + os_multilib_dir=`$GCC_FOR_TARGET $flags --print-multi-os-directory` if [ "$os_multilib_dir" != . ]; then shlib_slibdir_qual="/$os_multilib_dir" fi @@ -804,7 +805,7 @@ for ml in $MULTILIBS; do echo ' $(RANLIB_FOR_TARGET)' ${ldir}/libgcc_eh.a shlib_slibdir_qual= - os_multilib_dir=`./xgcc -B./ $flags --print-multi-os-directory` + os_multilib_dir=`$GCC_FOR_TARGET $flags --print-multi-os-directory` if [ "$os_multilib_dir" != . ]; then shlib_slibdir_qual="/$os_multilib_dir" fi