check for host locale utils
[buildroot.git] / toolchain / gcc / 3.4.6 / 300-libstdc++-pic.patch
blob9f304a4c4b6ef3a06155d0dc49a37db0f96cb708
1 # DP: Build and install libstdc++_pic.a library.
3 --- gcc/libstdc++-v3/src/Makefile.am
4 +++ gcc/libstdc++-v3/src/Makefile.am
5 @@ -224,6 +224,10 @@
6 @OPT_LDFLAGS@ @SECTION_LDFLAGS@ $(AM_CXXFLAGS) $(LDFLAGS) -o $@
9 +install-exec-local:
10 + $(AR) cru libstdc++_pic.a .libs/*.o $(top_builddir)/libsupc++/*.o
11 + $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
13 # Added bits to build debug library.
14 if GLIBCPP_BUILD_DEBUG
15 all-local: build_debug
17 --- gcc/libstdc++-v3/src/Makefile.in
18 +++ gcc/libstdc++-v3/src/Makefile.in
19 @@ -585,7 +585,7 @@
21 install-data-am: install-data-local
23 -install-exec-am: install-toolexeclibLTLIBRARIES
24 +install-exec-am: install-toolexeclibLTLIBRARIES install-exec-local
26 install-info: install-info-am
28 @@ -618,6 +618,7 @@
29 distclean-tags distdir dvi dvi-am info info-am install \
30 install-am install-data install-data-am install-data-local \
31 install-exec install-exec-am install-info install-info-am \
32 + install-exec-local \
33 install-man install-strip install-toolexeclibLTLIBRARIES \
34 installcheck installcheck-am installdirs maintainer-clean \
35 maintainer-clean-generic mostlyclean mostlyclean-compile \
36 @@ -707,6 +708,11 @@
37 install_debug:
38 (cd ${debugdir} && $(MAKE) \
39 toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install)
41 +install-exec-local:
42 + $(AR) cru libstdc++_pic.a .libs/*.o $(top_builddir)/libsupc++/*.o
43 + $(INSTALL_DATA) libstdc++_pic.a $(DESTDIR)$(toolexeclibdir)
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: