This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Move dependency for shared libgcc
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 19 May 2015 21:00:39 +0200
- Subject: Move dependency for shared libgcc
- Authentication-results: sourceware.org; auth=none
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 <ebotcazou@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),)