From 588910b34a2347ec421a637d22b843935ef141ef Mon Sep 17 00:00:00 2001 From: megacz Date: Fri, 30 Jan 2004 07:05:45 +0000 Subject: [PATCH] 2003/09/08 04:52:36 darcs-hash:20040130070545-2ba56-5a1503c639de94933ba9192c60c10869c0422097.gz --- upstream/gcc-3.3/patches/ranlib.patch | 90 +++++++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 upstream/gcc-3.3/patches/ranlib.patch diff --git a/upstream/gcc-3.3/patches/ranlib.patch b/upstream/gcc-3.3/patches/ranlib.patch new file mode 100644 index 0000000..ce5790b --- /dev/null +++ b/upstream/gcc-3.3/patches/ranlib.patch @@ -0,0 +1,90 @@ +--- gcc/Makefile.in Tue Apr 22 08:50:48 2003 ++++ gcc/Makefile.in Sun Sep 7 20:51:05 2003 +@@ -2915,11 +2915,7 @@ + + # Install the library. + install-libgcc: libgcc.mk libgcc.a installdirs +- if $(RANLIB_TEST_FOR_TARGET); then \ + r_f_t=$(RANLIB_FOR_TARGET); \ +- else \ +- r_f_t=: ; \ +- fi; \ + $(MAKE) GCC_FOR_TARGET="$(GCC_FOR_TARGET)" \ + BUILD_PREFIX="$(BUILD_PREFIX)" BUILD_PREFIX_1="$(BUILD_PREFIX_1)" \ + AR_FOR_TARGET="$(AR_FOR_TARGET)" \ +@@ -2942,11 +2938,7 @@ + + # Install multiple versions of libgcc.a. + install-multilib: stmp-multilib installdirs +- if $(RANLIB_TEST_FOR_TARGET); then \ + r_f_t=$(RANLIB_FOR_TARGET); \ +- else \ +- r_f_t=: ; \ +- fi; \ + $(MAKE) GCC_FOR_TARGET="$(GCC_FOR_TARGET)" \ + BUILD_PREFIX="$(BUILD_PREFIX)" BUILD_PREFIX_1="$(BUILD_PREFIX_1)" \ + AR_FOR_TARGET="$(AR_FOR_TARGET)" \ +@@ -3552,9 +3544,7 @@ + -if [ -f collect-ld$(exeext) ] ; then (cd stage1 && $(LN_S) ../collect-ld$(exeext) .) ; else true ; fi + -rm -f stage1/libgcc.a stage1/libgcc_eh.a + -cp libgcc.a stage1 +- -if $(RANLIB_TEST_FOR_TARGET) ; then \ + $(RANLIB_FOR_TARGET) stage1/libgcc.a; \ +- else true; fi + -if [ -f libgcc_eh.a ] ; then cp libgcc_eh.a stage1; \ + if $(RANLIB_TEST_FOR_TARGET) ; then \ + $(RANLIB_FOR_TARGET) stage1/libgcc_eh.a; \ +@@ -3581,13 +3571,9 @@ + -if [ -f collect-ld$(exeext) ] ; then (cd stage2 && $(LN_S) ../collect-ld$(exeext) .) ; else true ; fi + -rm -f stage2/libgcc.a stage2/libgcc_eh.a + -cp libgcc.a stage2 +- -if $(RANLIB_TEST_FOR_TARGET) ; then \ + $(RANLIB_FOR_TARGET) stage2/libgcc.a; \ +- else true; fi + -if [ -f libgcc_eh.a ] ; then cp libgcc_eh.a stage2; \ +- if $(RANLIB_TEST_FOR_TARGET) ; then \ + $(RANLIB_FOR_TARGET) stage2/libgcc_eh.a; \ +- else true; fi; fi + -for f in .. $(EXTRA_MULTILIB_PARTS); do if [ x$${f} != x.. ]; then \ + cp stage2/$${f} . ; \ + else true; \ +@@ -3610,13 +3596,9 @@ + -if [ -f collect-ld$(exeext) ] ; then (cd stage3 && $(LN_S) ../collect-ld$(exeext) .) ; else true ; fi + -rm -f stage3/libgcc.a stage3/libgcc_eh.a + -cp libgcc.a stage3 +- -if $(RANLIB_TEST_FOR_TARGET) ; then \ + $(RANLIB_FOR_TARGET) stage3/libgcc.a; \ +- else true; fi + -if [ -f libgcc_eh.a ] ; then cp libgcc_eh.a stage3; \ +- if $(RANLIB_TEST_FOR_TARGET) ; then \ + $(RANLIB_FOR_TARGET) stage3/libgcc_eh.a; \ +- else true; fi; fi + -for f in .. $(EXTRA_MULTILIB_PARTS); do if [ x$${f} != x.. ]; then \ + cp stage3/$${f} . ; \ + else true; \ +@@ -3639,13 +3621,9 @@ + -if [ -f collect-ld$(exeext) ] ; then (cd stage4 && $(LN_S) ../collect-ld$(exeext) .) ; else true ; fi + -rm -f stage4/libgcc.a stage4/libgcc_eh.a + -cp libgcc.a stage4 +- -if $(RANLIB_TEST_FOR_TARGET) ; then \ + $(RANLIB_FOR_TARGET) stage4/libgcc.a; \ +- else true; fi + -if [ -f libgcc_eh.a ] ; then cp libgcc_eh.a stage4; \ +- if $(RANLIB_TEST_FOR_TARGET) ; then \ + $(RANLIB_FOR_TARGET) stage4/libgcc_eh.a; \ +- else true; fi; fi + -for f in .. $(EXTRA_MULTILIB_PARTS); do if [ x$${f} != x.. ]; then \ + cp stage4/$${f} . ; \ + else true; \ +--- gcc/mklibgcc.in Sun Jan 26 03:35:07 2003 ++++ gcc/mklibgcc.in Sun Sep 7 20:49:48 2003 +@@ -312,9 +312,7 @@ + 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;' + + if [ "$SHLIB_LINK" ]; then + -- 1.7.10.4