summaryrefslogtreecommitdiff
path: root/libgcc/Makefile.in
diff options
context:
space:
mode:
authorsayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-05 16:04:14 +0000
committersayle <sayle@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-05 16:04:14 +0000
commitfce64ed463290401feefd15a90003bde329ab098 (patch)
treeef56e393765adedfebd1c38935353f8050876726 /libgcc/Makefile.in
parent22f6d4d08aadb3193a9b5b07762c5f6279c15666 (diff)
downloadgcc-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.in5
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 \