File yaboot-libgcc.patch of Package lilo

--- yaboot-22.8-r1190/Makefile.xx	2011-02-20 18:45:03.000000000 +0100
+++ yaboot-22.8-r1190/Makefile	2011-02-20 18:45:20.000000000 +0100
@@ -23,7 +23,7 @@
 
 # The flags for the yaboot binary.
 #
-YBCFLAGS = -Os
+YBCFLAGS = -O2
 YBCFLAGS += -g
 ifneq ($(CFLAGS),)
 YBCFLAGS += $(CFLAGS)
@@ -178,7 +178,7 @@
 	mv -f $@.~ $@
 
 second/yaboot: $(OBJS) util/addnote ld.script second/yaboot.a second/empty.o
-	$(LD) -T ld.script $(LFLAGS) second/empty.o second/crt0.o second/yaboot.a -o $@
+	$(LD) -T ld.script $(LFLAGS) second/empty.o second/crt0.o second/yaboot.a -o $@ `gcc -m32 -print-libgcc-file-name`
 	chmod -x $@
 	cp $@ $@.chrp
 	util/addnote $@.chrp
--- yaboot-22.8-r1190/make_yaboot.sh.xx	2011-06-22 16:23:03.000000000 +0200
+++ yaboot-22.8-r1190/make_yaboot.sh	2011-06-22 16:23:26.000000000 +0200
@@ -80,7 +80,8 @@
 	-o $tmp/output \
 	$obj_dir/chrp/yaboot.crt0.o \
 	$tmp/empty.o \
-	$obj_dir/chrp/yaboot.a
+	$obj_dir/chrp/yaboot.a \
+	`gcc -m32 -print-libgcc-file-name`
 #
 if [ "$do_addnote" = "true" ] ; then
 echo add note section for RS6K
openSUSE Build Service is sponsored by