more random patches. who knows.
[patches.git] / slibgcc.patch
1 --- gcc/config/t-slibgcc-elf-ver
2 +++ gcc/config/t-slibgcc-elf-ver
3 @@ -24,11 +24,9 @@
4 # $(slibdir) double quoted to protect it from expansion while building
5 # libgcc.mk. We want this delayed until actual install time.
6 SHLIB_INSTALL = \
7 - $$(SHELL) $$(srcdir)/mkinstalldirs $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL); \
8 - $(INSTALL_DATA) $(SHLIB_NAME) \
9 - $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SONAME); \
10 - rm -f $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK); \
11 - $(LN_S) $(SHLIB_SONAME) \
12 - $$(DESTDIR)$$(slibdir)$(SHLIB_SLIBDIR_QUAL)/$(SHLIB_SOLINK)
13 + $$(SHELL) $$(srcdir)/mkinstalldirs $$(DESTDIR)$$(libsubdir)/@shlib_dir@; \
14 + $$(INSTALL_DATA) $(SHLIB_NAME) $$(DESTDIR)$$(libsubdir)/@shlib_dir@; \
15 + rm -f $$(DESTDIR)$$(libsubdir)/@shlib_dir@$(SHLIB_SOLINK); \
16 + $(LN_S) $(SHLIB_SONAME) $$(DESTDIR)$$(libsubdir)/@shlib_dir@$(SHLIB_SOLINK)
17 SHLIB_MKMAP = $(srcdir)/mkmap-symver.awk
18 SHLIB_MAPFILES = $(srcdir)/libgcc-std.ver