You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
1.1 KiB

  1. --- a/libgcc/Makefile.in
  2. +++ b/libgcc/Makefile.in
  3. @@ -887,11 +887,12 @@ $(libgcov-driver-objects): %$(objext): $
  4. # Static libraries.
  5. libgcc.a: $(libgcc-objects)
  6. +libgcc_pic.a: $(libgcc-s-objects)
  7. libgcov.a: $(libgcov-objects)
  8. libunwind.a: $(libunwind-objects)
  9. libgcc_eh.a: $(libgcc-eh-objects)
  10. -libgcc.a libgcov.a libunwind.a libgcc_eh.a:
  11. +libgcc.a libgcov.a libunwind.a libgcc_eh.a libgcc_pic.a:
  12. -rm -f $@
  13. objects="$(objects)"; \
  14. @@ -913,7 +914,7 @@ libgcc_s$(SHLIB_EXT): libunwind$(SHLIB_E
  15. endif
  16. ifeq ($(enable_shared),yes)
  17. -all: libgcc_eh.a libgcc_s$(SHLIB_EXT)
  18. +all: libgcc_eh.a libgcc_pic.a libgcc_s$(SHLIB_EXT)
  19. ifneq ($(LIBUNWIND),)
  20. all: libunwind$(SHLIB_EXT)
  21. endif
  22. @@ -1108,6 +1109,10 @@ install-shared:
  23. chmod 644 $(DESTDIR)$(inst_libdir)/libgcc_eh.a
  24. $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcc_eh.a
  25. + $(INSTALL_DATA) libgcc_pic.a $(mapfile) $(DESTDIR)$(inst_libdir)/
  26. + chmod 644 $(DESTDIR)$(inst_libdir)/libgcc_pic.a
  27. + $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcc_pic.a
  28. +
  29. $(subst @multilib_dir@,$(MULTIDIR),$(subst \
  30. @shlib_base_name@,libgcc_s,$(subst \
  31. @shlib_slibdir_qual@,$(MULTIOSSUBDIR),$(SHLIB_INSTALL))))