initial import from Debian
version: 14.3.0-5 commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
This commit is contained in:
91
debian/patches/libstdc++-pic.diff
vendored
Normal file
91
debian/patches/libstdc++-pic.diff
vendored
Normal file
@@ -0,0 +1,91 @@
|
||||
# DP: Build and install libstdc++_pic.a library.
|
||||
|
||||
--- a/src/libstdc++-v3/src/Makefile.am
|
||||
+++ b/src/libstdc++-v3/src/Makefile.am
|
||||
@@ -379,10 +379,12 @@ if GLIBCXX_BUILD_DEBUG
|
||||
STAMP_DEBUG = build-debug
|
||||
STAMP_INSTALL_DEBUG = install-debug
|
||||
CLEAN_DEBUG = debug
|
||||
+STAMP_INSTALL_PIC = install-pic
|
||||
else
|
||||
STAMP_DEBUG =
|
||||
STAMP_INSTALL_DEBUG =
|
||||
CLEAN_DEBUG =
|
||||
+STAMP_INSTALL_PIC =
|
||||
endif
|
||||
|
||||
# Build a debug variant.
|
||||
@@ -425,6 +427,7 @@ build-debug: stamp-debug $(debug_backtra
|
||||
mv Makefile Makefile.tmp; \
|
||||
sed -e 's,all-local: all-once,all-local:,' \
|
||||
-e 's,install-data-local: install-data-once,install-data-local:,' \
|
||||
+ -e 's,install-exec-local:.*,install-exec-local:,' \
|
||||
-e '/vpath/!s,src/c,src/debug/c,' \
|
||||
< Makefile.tmp > Makefile ; \
|
||||
rm -f Makefile.tmp ; \
|
||||
@@ -435,3 +438,8 @@ build-debug: stamp-debug $(debug_backtra
|
||||
install-debug: build-debug
|
||||
(cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
|
||||
toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install) ;
|
||||
+
|
||||
+install-exec-local: $(STAMP_INSTALL_PIC)
|
||||
+$(STAMP_INSTALL_PIC):
|
||||
+ $(MKDIR_P) $(DESTDIR)$(toolexeclibdir)
|
||||
+ $(INSTALL_DATA) .libs/libstdc++convenience.a $(DESTDIR)$(toolexeclibdir)/libstdc++_pic.a
|
||||
--- a/src/libstdc++-v3/src/Makefile.in
|
||||
+++ b/src/libstdc++-v3/src/Makefile.in
|
||||
@@ -676,6 +676,8 @@ CXXLINK = \
|
||||
@GLIBCXX_BUILD_DEBUG_TRUE@STAMP_INSTALL_DEBUG = install-debug
|
||||
@GLIBCXX_BUILD_DEBUG_FALSE@CLEAN_DEBUG =
|
||||
@GLIBCXX_BUILD_DEBUG_TRUE@CLEAN_DEBUG = debug
|
||||
+@GLIBCXX_BUILD_DEBUG_FALSE@STAMP_INSTALL_PIC =
|
||||
+@GLIBCXX_BUILD_DEBUG_TRUE@STAMP_INSTALL_PIC = install-pic
|
||||
|
||||
# Build a debug variant.
|
||||
# Take care to fix all possibly-relative paths.
|
||||
@@ -944,7 +946,7 @@ install-dvi: install-dvi-recursive
|
||||
|
||||
install-dvi-am:
|
||||
|
||||
-install-exec-am: install-toolexeclibLTLIBRARIES
|
||||
+install-exec-am: install-exec-local install-toolexeclibLTLIBRARIES
|
||||
|
||||
install-html: install-html-recursive
|
||||
|
||||
@@ -994,11 +996,11 @@ uninstall-am: uninstall-toolexeclibLTLIB
|
||||
distclean-libtool distclean-tags dvi dvi-am html html-am info \
|
||||
info-am install install-am install-data install-data-am \
|
||||
install-data-local install-dvi install-dvi-am install-exec \
|
||||
- install-exec-am install-html install-html-am install-info \
|
||||
- install-info-am install-man install-pdf install-pdf-am \
|
||||
- install-ps install-ps-am install-strip \
|
||||
- install-toolexeclibLTLIBRARIES installcheck installcheck-am \
|
||||
- installdirs installdirs-am maintainer-clean \
|
||||
+ install-exec-am install-exec-local install-html \
|
||||
+ install-html-am install-info install-info-am install-man \
|
||||
+ install-pdf install-pdf-am install-ps install-ps-am \
|
||||
+ install-strip install-toolexeclibLTLIBRARIES installcheck \
|
||||
+ installcheck-am installdirs installdirs-am maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
||||
tags tags-am uninstall uninstall-am \
|
||||
@@ -1147,6 +1149,7 @@ build-debug: stamp-debug $(debug_backtra
|
||||
mv Makefile Makefile.tmp; \
|
||||
sed -e 's,all-local: all-once,all-local:,' \
|
||||
-e 's,install-data-local: install-data-once,install-data-local:,' \
|
||||
+ -e 's,install-exec-local:.*,install-exec-local:,' \
|
||||
-e '/vpath/!s,src/c,src/debug/c,' \
|
||||
< Makefile.tmp > Makefile ; \
|
||||
rm -f Makefile.tmp ; \
|
||||
@@ -1158,6 +1161,11 @@ install-debug: build-debug
|
||||
(cd ${debugdir} && $(MAKE) CXXFLAGS='$(DEBUG_FLAGS)' \
|
||||
toolexeclibdir=$(glibcxx_toolexeclibdir)/debug install) ;
|
||||
|
||||
+install-exec-local: $(STAMP_INSTALL_PIC)
|
||||
+$(STAMP_INSTALL_PIC):
|
||||
+ $(MKDIR_P) $(DESTDIR)$(toolexeclibdir)
|
||||
+ $(INSTALL_DATA) .libs/libstdc++convenience.a $(DESTDIR)$(toolexeclibdir)/libstdc++_pic.a
|
||||
+
|
||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||
.NOEXPORT:
|
Reference in New Issue
Block a user