diff options
author | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-05 16:04:14 +0000 |
---|---|---|
committer | sayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-02-05 16:04:14 +0000 |
commit | fce64ed463290401feefd15a90003bde329ab098 (patch) | |
tree | ef56e393765adedfebd1c38935353f8050876726 /libgcc/Makefile.in | |
parent | 22f6d4d08aadb3193a9b5b07762c5f6279c15666 (diff) | |
download | gcc-fce64ed463290401feefd15a90003bde329ab098.tar.gz |
* Makefile.in <LIBUNWIND>: 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
Diffstat (limited to 'libgcc/Makefile.in')
-rw-r--r-- | libgcc/Makefile.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in index cb91cdaf756..80ab7e90fb7 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 \ |