package/busybox: add upstream hush patch, bump release number
[openwrt.git] / toolchain / gcc / patches / 4.3.4 / 820-libgcc_pic.patch
1 --- a/libgcc/Makefile.in
2 +++ b/libgcc/Makefile.in
3 @@ -680,11 +680,12 @@ $(libgcov-objects): %$(objext): $(gcc_sr
4
5 # Static libraries.
6 libgcc.a: $(libgcc-objects)
7 +libgcc_pic.a: $(libgcc-s-objects)
8 libgcov.a: $(libgcov-objects)
9 libunwind.a: $(libunwind-objects)
10 libgcc_eh.a: $(libgcc-eh-objects)
11
12 -libgcc.a libgcov.a libunwind.a libgcc_eh.a:
13 +libgcc.a libgcov.a libunwind.a libgcc_eh.a libgcc_pic.a:
14 -rm -f $@
15
16 objects="$(objects)"; \
17 @@ -706,7 +707,7 @@ libgcc_s$(SHLIB_EXT): libunwind$(SHLIB_E
18 endif
19
20 ifeq ($(enable_shared),yes)
21 -all: libgcc_eh.a libgcc_s$(SHLIB_EXT)
22 +all: libgcc_eh.a libgcc_pic.a libgcc_s$(SHLIB_EXT)
23 ifneq ($(LIBUNWIND),)
24 all: libunwind$(SHLIB_EXT)
25 endif
26 @@ -879,6 +880,10 @@ install-shared:
27 chmod 644 $(DESTDIR)$(inst_libdir)/libgcc_eh.a
28 $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcc_eh.a
29
30 + $(INSTALL_DATA) libgcc_pic.a $(mapfile) $(DESTDIR)$(inst_libdir)/
31 + chmod 644 $(DESTDIR)$(inst_libdir)/libgcc_pic.a
32 + $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcc_pic.a
33 +
34 $(subst @multilib_dir@,$(MULTIDIR),$(subst \
35 @shlib_base_name@,libgcc_s,$(subst \
36 @shlib_slibdir_qual@,$(MULTIOSSUBDIR),$(SHLIB_INSTALL))))
This page took 0.039871 seconds and 5 git commands to generate.