File gpc-fix4.patch of Package gpc

--- gcc-3.4.6/gcc/Makefile.in.orig	2012-02-22 12:55:06.000000000 +0000
+++ gcc-3.4.6/gcc/Makefile.in	2012-02-22 12:55:41.000000000 +0000
@@ -1150,8 +1150,10 @@
 LIB2ADD_ST = $(LIB2FUNCS_STATIC_EXTRA)
 LIB2ADD_SH = $(LIB2FUNCS_SHARED_EXTRA)
 
+# collect2 & cpp ARE dependencies to force them to build before the libs
+# otherwise the newly built TARGET libs are (incorrectly) used
 libgcc.mk: config.status Makefile mklibgcc $(LIB2ADD) $(LIB2ADD_ST) $(LIB2ADD_SH) \
-  xgcc$(exeext) specs
+  xgcc$(exeext) specs collect2$(exeext) cpp$(exeext)
 	objext='$(objext)' \
 	LIB1ASMFUNCS='$(LIB1ASMFUNCS)' \
 	LIB2FUNCS_ST='$(LIB2FUNCS_ST)' \
openSUSE Build Service is sponsored by