------- Comment #13 from ek dot kato at gmail dot com  2007-11-29 09:08 -------
Oops, I noticed the diff sent yesterday was broken.  Here is the correct one
for the workaround.


Index: libgcc/Makefile.in
===================================================================
--- libgcc/Makefile.in  (revision 130508)
+++ libgcc/Makefile.in  (working copy)
@@ -100,8 +100,17 @@
        # in-tree libraries, and DejaGNU) know about the layout
        # of the build tree, for now.
        $(MAKE) install DESTDIR=$(gcc_objdir) \
-         slibdir= libsubdir= MULTIOSDIR=$(MULTIDIR)
+         slibdir=$(slibdir) libsubdir= MULTIOSDIR=$(MULTIDIR)

+       objdir="$(gcc_objdir)/$(slibdir)";              \
+       if test -d $$objdir; then                       \
+         for file in $$objdir/libgcc_s*; do            \
+           if test -f $$file -o -L $$file; then        \
+             mv -f $$file $(gcc_objdir)/;              \
+           fi;                                         \
+         done;                                         \
+       fi
+
 .PHONY: all-multi
 all-multi:
        # If this is the top-level multilib, build all the other


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30572

Reply via email to