Probably a misapplied patch: the dependency of the shared libgcc on the shared 
libunwind is in a wrong place in Makefile.  The patch also removes a useless 
endif/ifneq pair.

Tested on x86_64-suse-linux and ia64-suse-linux, applied as obvious.


2015-05-19  Eric Botcazou  <ebotca...@adacore.com>

        * Makefile.in (LIBUNWIND): Move dependency for shared libgcc.
        Remove useless endif/ifneq ($(enable_shared),yes) pair.


-- 
Eric Botcazou
Index: Makefile.in
===================================================================
--- Makefile.in	(revision 223349)
+++ Makefile.in	(working copy)
@@ -910,17 +910,14 @@ all: libgcc.a libgcov.a
 
 ifneq ($(LIBUNWIND),)
 all: libunwind.a
-libgcc_s$(SHLIB_EXT): libunwind$(SHLIB_EXT)
 endif
 
 ifeq ($(enable_shared),yes)
 all: libgcc_eh.a libgcc_s$(SHLIB_EXT)
 ifneq ($(LIBUNWIND),)
 all: libunwind$(SHLIB_EXT)
+libgcc_s$(SHLIB_EXT): libunwind$(SHLIB_EXT)
 endif
-endif
-
-ifeq ($(enable_shared),yes)
 
 # Map-file generation.
 ifneq ($(SHLIB_MKMAP),)

Reply via email to