From fce64ed463290401feefd15a90003bde329ab098 Mon Sep 17 00:00:00 2001 From: sayle Date: Mon, 5 Feb 2007 16:04:14 +0000 Subject: [PATCH] * Makefile.in : Make libgcc_s.so depend on libunwind.so. (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK). (libunwind.so): Likewise for $(SHLIBUNWIND_LINK). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@121601 138bc75d-0d04-0410-961f-82ee72b054a4 --- libgcc/ChangeLog | 7 +++++++ libgcc/Makefile.in | 5 +++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 7023d80..be77ac2 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,10 @@ +2007-02-05 Roger Sayle + Daniel Jacobowitz + + * Makefile.in : Make libgcc_s.so depend on libunwind.so. + (libgcc_s.so): Append -B./ to CFLAGS for $(SHLIB_LINK). + (libunwind.so): Likewise for $(SHLIBUNWIND_LINK). + 2007-01-29 Janis Johnson * Makefile.in (dec-filenames): Add decExcept. diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in index cb91cda..80ab7e9 100644 --- a/libgcc/Makefile.in +++ b/libgcc/Makefile.in @@ -591,6 +591,7 @@ all: libgcc.a libgcov.a ifneq ($(LIBUNWIND),) all: libunwind.a +libgcc_s$(SHLIB_EXT): libunwind$(SHLIB_EXT) endif ifeq ($(enable_shared),yes) @@ -622,7 +623,7 @@ libgcc_s$(SHLIB_EXT): $(libgcc-s-objects) $(extra-parts) # @multilib_dir@ is not really necessary, but sometimes it has # more uses than just a directory name. $(mkinstalldirs) $(MULTIDIR) - $(subst @multilib_flags@,$(CFLAGS),$(subst \ + $(subst @multilib_flags@,$(CFLAGS) -B./,$(subst \ @multilib_dir@,$(MULTIDIR),$(subst \ @shlib_objs@,$(objects),$(subst \ @shlib_base_name@,libgcc_s,$(subst \ @@ -635,7 +636,7 @@ libunwind$(SHLIB_EXT): $(libunwind-s-objects) $(extra-parts) # @multilib_dir@ is not really necessary, but sometimes it has # more uses than just a directory name. $(mkinstalldirs) $(MULTIDIR) - $(subst @multilib_flags@,$(CFLAGS),$(subst \ + $(subst @multilib_flags@,$(CFLAGS) -B./,$(subst \ @multilib_dir@,$(MULTIDIR),$(subst \ @shlib_objs@,$(objects),$(subst \ @shlib_base_name@,libunwind,$(subst \ -- 2.7.4