wok-next diff gcc/stuff/patches/libgcc-always-build-gcceh.a.patch @ rev 21583
updated ddclient (3.8.3 -> 3.9.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Jun 23 16:30:52 2020 +0100 (2020-06-23) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gcc/stuff/patches/libgcc-always-build-gcceh.a.patch Tue Jun 23 16:30:52 2020 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +Highly inspired by: 1.5 + http://landley.net/hg/aboriginal/file/7e0747a665ab/sources/patches/gcc-core-libgcceh.patch 1.6 + 1.7 +diff -durN gcc-4.6.0.orig/libgcc/Makefile.in gcc-4.6.0/libgcc/Makefile.in 1.8 +--- gcc-4.6.0.orig/libgcc/Makefile.in 2011-01-26 05:19:58.000000000 +0100 1.9 ++++ gcc-4.6.0/libgcc/Makefile.in 2011-09-12 18:17:12.743718974 +0200 1.10 +@@ -772,8 +772,9 @@ 1.11 + libgcc_s$(SHLIB_EXT): libunwind$(SHLIB_EXT) 1.12 + endif 1.13 + 1.14 ++all: libgcc_eh.a 1.15 + ifeq ($(enable_shared),yes) 1.16 +-all: libgcc_eh.a libgcc_s$(SHLIB_EXT) 1.17 ++all: libgcc_s$(SHLIB_EXT) 1.18 + ifneq ($(LIBUNWIND),) 1.19 + all: libunwind$(SHLIB_EXT) 1.20 + endif 1.21 +@@ -950,10 +951,6 @@ 1.22 + install-shared: 1.23 + $(mkinstalldirs) $(DESTDIR)$(inst_libdir) 1.24 + 1.25 +- $(INSTALL_DATA) libgcc_eh.a $(DESTDIR)$(inst_libdir)/ 1.26 +- chmod 644 $(DESTDIR)$(inst_libdir)/libgcc_eh.a 1.27 +- $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcc_eh.a 1.28 +- 1.29 + $(subst @multilib_dir@,$(MULTIDIR),$(subst \ 1.30 + @shlib_base_name@,libgcc_s,$(subst \ 1.31 + @shlib_slibdir_qual@,$(MULTIOSSUBDIR),$(SHLIB_INSTALL)))) 1.32 +@@ -968,6 +965,10 @@ 1.33 + chmod 644 $(DESTDIR)$(inst_libdir)/libgcov.a 1.34 + $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcov.a 1.35 + 1.36 ++ $(INSTALL_DATA) libgcc_eh.a $(DESTDIR)$(inst_libdir)/ 1.37 ++ chmod 644 $(DESTDIR)$(inst_libdir)/libgcc_eh.a 1.38 ++ $(RANLIB) $(DESTDIR)$(inst_libdir)/libgcc_eh.a 1.39 ++ 1.40 + parts="$(INSTALL_PARTS)"; \ 1.41 + for file in $$parts; do \ 1.42 + rm -f $(DESTDIR)$(inst_libdir)/$$file; \