diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2014-04-23 21:06:05 -0700 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2014-04-23 21:10:25 -0700 |
commit | e63ecca9d1eaf9cf675723021df86bbe66d1235f (patch) | |
tree | a0ad8fd381555e9b96751675e4f71b115ccc7b67 /build/tools/toolchain-patches/gcc/0004-Rename-libstdc++.so-to-libgnustl_shared.so.patch | |
parent | 85b81c40fd673f42cb15cb33fa3615dfa9ea0c60 (diff) | |
download | ndk-e63ecca9d1eaf9cf675723021df86bbe66d1235f.tar.gz |
Update NDK gcc local patches after gcc4.9 rebease
Change-Id: I88ca8648a7740372859143f08f19cc11a6c81f4f
Diffstat (limited to 'build/tools/toolchain-patches/gcc/0004-Rename-libstdc++.so-to-libgnustl_shared.so.patch')
-rw-r--r-- | build/tools/toolchain-patches/gcc/0004-Rename-libstdc++.so-to-libgnustl_shared.so.patch | 87 |
1 files changed, 87 insertions, 0 deletions
diff --git a/build/tools/toolchain-patches/gcc/0004-Rename-libstdc++.so-to-libgnustl_shared.so.patch b/build/tools/toolchain-patches/gcc/0004-Rename-libstdc++.so-to-libgnustl_shared.so.patch new file mode 100644 index 000000000..411a330cb --- /dev/null +++ b/build/tools/toolchain-patches/gcc/0004-Rename-libstdc++.so-to-libgnustl_shared.so.patch @@ -0,0 +1,87 @@ +From f82d0f1b47ea7ae0d20c00b4f29cfd694ab66a07 Mon Sep 17 00:00:00 2001 +From: David 'Digit' Turner <digit@google.com> +Date: Tue, 21 Feb 2012 15:07:59 +0100 +Subject: Rename libstdc++.so to libgnustl_shared.so + +This patch ensure that the generated library is called libgnustl_shared.so +instead of libstdc++.so.3 (or some similar number-versioned name). + +Change-Id: I63fb5be818115c6d0c7e96b937ba39f225b475cf +--- + gcc-4.6/libstdc++-v3/src/Makefile.in | 5 ++++- + gcc-4.8/libstdc++-v3/src/Makefile.in | 5 ++++- + gcc-4.9/libstdc++-v3/src/Makefile.in | 5 ++++- + 3 files changed, 12 insertions(+), 3 deletions(-) + +diff --git a/gcc-4.6/libstdc++-v3/src/Makefile.in b/gcc-4.6/libstdc++-v3/src/Makefile.in +index d03acd5..5abd1d2 100644 +--- a/gcc-4.6/libstdc++-v3/src/Makefile.in ++++ b/gcc-4.6/libstdc++-v3/src/Makefile.in +@@ -340,7 +340,7 @@ WARN_CXXFLAGS = \ + AM_CPPFLAGS = $(GLIBCXX_INCLUDES) + + # Cross compiler support. +-toolexeclib_LTLIBRARIES = libstdc++.la ++toolexeclib_LTLIBRARIES = libgnustl_shared.la + @ENABLE_SYMVERS_TRUE@CLEANFILES = libstdc++-symbols.ver $(version_dep) + @ENABLE_SYMVERS_DARWIN_TRUE@@ENABLE_SYMVERS_TRUE@version_arg = -Wl,-exported_symbols_list,libstdc++-symbols.explist + @ENABLE_SYMVERS_FALSE@version_arg = +@@ -596,6 +596,9 @@ clean-toolexeclibLTLIBRARIES: + libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES) + $(libstdc___la_LINK) -rpath $(toolexeclibdir) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS) + ++libgnustl_shared.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES) ++ $(libstdc___la_LINK) -rpath $(toolexeclibdir) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS) ++ + mostlyclean-compile: + -rm -f *.$(OBJEXT) + +diff --git a/gcc-4.8/libstdc++-v3/src/Makefile.in b/gcc-4.8/libstdc++-v3/src/Makefile.in +index 9721ebb..dd3d426 100644 +--- a/gcc-4.8/libstdc++-v3/src/Makefile.in ++++ b/gcc-4.8/libstdc++-v3/src/Makefile.in +@@ -336,7 +336,7 @@ AM_CPPFLAGS = $(GLIBCXX_INCLUDES) + SUBDIRS = c++98 c++11 + + # Cross compiler support. +-toolexeclib_LTLIBRARIES = libstdc++.la ++toolexeclib_LTLIBRARIES = libgnustl_shared.la + @GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources = + @GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc + parallel_compat_sources = \ +@@ -544,6 +544,9 @@ clean-toolexeclibLTLIBRARIES: + libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES) + $(libstdc___la_LINK) -rpath $(toolexeclibdir) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS) + ++libgnustl_shared.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES) ++ $(libstdc___la_LINK) -rpath $(toolexeclibdir) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS) ++ + mostlyclean-compile: + -rm -f *.$(OBJEXT) + +diff --git a/gcc-4.9/libstdc++-v3/src/Makefile.in b/gcc-4.9/libstdc++-v3/src/Makefile.in +index cd3943b..ec04005 100644 +--- a/gcc-4.9/libstdc++-v3/src/Makefile.in ++++ b/gcc-4.9/libstdc++-v3/src/Makefile.in +@@ -342,7 +342,7 @@ AM_CPPFLAGS = $(GLIBCXX_INCLUDES) + SUBDIRS = c++98 c++11 + + # Cross compiler support. +-toolexeclib_LTLIBRARIES = libstdc++.la ++toolexeclib_LTLIBRARIES = libgnustl_shared.la + @GLIBCXX_LDBL_COMPAT_FALSE@ldbl_compat_sources = + @GLIBCXX_LDBL_COMPAT_TRUE@ldbl_compat_sources = compatibility-ldbl.cc + parallel_compat_sources = \ +@@ -552,6 +552,9 @@ clean-toolexeclibLTLIBRARIES: + libstdc++.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES) + $(libstdc___la_LINK) -rpath $(toolexeclibdir) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS) + ++libgnustl_shared.la: $(libstdc___la_OBJECTS) $(libstdc___la_DEPENDENCIES) ++ $(libstdc___la_LINK) -rpath $(toolexeclibdir) $(libstdc___la_OBJECTS) $(libstdc___la_LIBADD) $(LIBS) ++ + mostlyclean-compile: + -rm -f *.$(OBJEXT) + +-- +1.9.1.423.g4596e3a + |