add gcc 4.0.3, and make it the default for Aruba
[openwrt.git] / toolchain / gcc / 4.0.3 / 300-libstdc++-pic.patch
1 diff -urN gcc-4.0.0-200/libstdc++-v3/src/Makefile.am gcc-4.0.0/libstdc++-v3/src/Makefile.am
2 --- gcc-4.0.0-200/libstdc++-v3/src/Makefile.am 2004-11-15 17:33:05.000000000 -0600
3 +++ gcc-4.0.0/libstdc++-v3/src/Makefile.am 2005-04-28 21:42:18.614344056 -0500
4 @@ -214,6 +214,10 @@
5 $(OPT_LDFLAGS) $(SECTION_LDFLAGS) $(AM_CXXFLAGS) $(LDFLAGS) -o $@
6
7
8 +install-exec-local:
9 + $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o
10 + $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
11 +
12 # Added bits to build debug library.
13 if GLIBCXX_BUILD_DEBUG
14 all-local: build_debug
15 diff -urN gcc-4.0.0-200/libstdc++-v3/src/Makefile.in gcc-4.0.0/libstdc++-v3/src/Makefile.in
16 --- gcc-4.0.0-200/libstdc++-v3/src/Makefile.in 2005-02-01 00:56:27.000000000 -0600
17 +++ gcc-4.0.0/libstdc++-v3/src/Makefile.in 2005-04-28 21:44:20.868758560 -0500
18 @@ -625,7 +625,7 @@
19
20 install-data-am: install-data-local
21
22 -install-exec-am: install-toolexeclibLTLIBRARIES
23 +install-exec-am: install-toolexeclibLTLIBRARIES install-exec-local
24
25 install-info: install-info-am
26
27 @@ -664,7 +664,7 @@
28 maintainer-clean-generic mostlyclean mostlyclean-compile \
29 mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
30 tags uninstall uninstall-am uninstall-info-am \
31 - uninstall-toolexeclibLTLIBRARIES
32 + uninstall-toolexeclibLTLIBRARIES install-exec-local
33
34 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@libstdc++-symbol.ver: ${glibcxx_srcdir}/$(SYMVER_MAP)
35 @GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@ cp ${glibcxx_srcdir}/$(SYMVER_MAP) ./libstdc++-symbol.ver
36 @@ -743,6 +743,11 @@
37 install_debug:
38 (cd ${debugdir} && $(MAKE) \
39 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
40 +
41 +install-exec-local:
42 + $(AR) cru libstdc++_pic.a *.o $(top_builddir)/libsupc++/*.o
43 + $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
44 +
45 # Tell versions [3.59,3.63) of GNU make to not export all variables.
46 # Otherwise a system limit (for SysV at least) may be exceeded.
47 .NOEXPORT:
This page took 0.044818 seconds and 5 git commands to generate.