summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgcc/Makefile.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in
index f3b21309d..3772fc446 100644
--- a/libgcc/Makefile.in
+++ b/libgcc/Makefile.in
@@ -802,7 +802,7 @@ libgcc_s$(SHLIB_EXT): libgcc.map
mapfile = libgcc.map
endif
-libgcc_s$(SHLIB_EXT): $(libgcc-s-objects) $(extra-parts) libgcc.a
+libgcc_s$(SHLIB_EXT): $(libgcc-s-objects) $(extra-parts) libgcc.a $(libgcc-crt-objects)
# @multilib_flags@ is still needed because this may use
# $(GCC_FOR_TARGET) and $(LIBGCC2_CFLAGS) directly.
# @multilib_dir@ is not really necessary, but sometimes it has
@@ -810,11 +810,12 @@ libgcc_s$(SHLIB_EXT): $(libgcc-s-objects) $(extra-parts) libgcc.a
$(mkinstalldirs) $(MULTIDIR)
$(subst @multilib_flags@,$(CFLAGS) -B./,$(subst \
@multilib_dir@,$(MULTIDIR),$(subst \
+ $(libgcc-crt-objects),,$(subst \
@shlib_objs@,$(objects) libgcc.a,$(subst \
@shlib_base_name@,libgcc_s,$(subst \
@shlib_map_file@,$(mapfile),$(subst \
@shlib_slibdir_qual@,$(MULTIOSSUBDIR),$(subst \
- @shlib_slibdir@,$(shlib_slibdir),$(SHLIB_LINK))))))))
+ @shlib_slibdir@,$(shlib_slibdir),$(SHLIB_LINK)))))))))
libunwind$(SHLIB_EXT): $(libunwind-s-objects) $(extra-parts)
# @multilib_flags@ is still needed because this may use