diff options
author | Jing Yu <jingyu@google.com> | 2010-07-22 14:39:44 -0700 |
---|---|---|
committer | Jing Yu <jingyu@google.com> | 2010-07-22 14:39:44 -0700 |
commit | f01e65905acd1e2052e875130cb723a658765bc8 (patch) | |
tree | 59218ed4db7b694046c1a5bf24bfb18005c0edf8 /gcc-4.4.3/libstdc++-v3/acinclude.m4 | |
parent | b094d6c4bf572654a031ecc4afe675154c886dc5 (diff) | |
download | toolchain_gcc-f01e65905acd1e2052e875130cb723a658765bc8.tar.gz toolchain_gcc-f01e65905acd1e2052e875130cb723a658765bc8.tar.bz2 toolchain_gcc-f01e65905acd1e2052e875130cb723a658765bc8.zip |
Backport upstream arm-linux-androideabi target to gcc-4.4.3.
From now on, the general Android toolchain will be arm-linux-androideabi.
arm-eabi toolchain built from this source does not contain Android specific
configurations and will only be used to build Android kernel.
Read recent changes in toolchain/build/README for more details.
Change-Id: I7526576949b55809da5c24d34e1df884301c05b2
Diffstat (limited to 'gcc-4.4.3/libstdc++-v3/acinclude.m4')
-rw-r--r-- | gcc-4.4.3/libstdc++-v3/acinclude.m4 | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gcc-4.4.3/libstdc++-v3/acinclude.m4 b/gcc-4.4.3/libstdc++-v3/acinclude.m4 index 186916c2e..195015bd2 100644 --- a/gcc-4.4.3/libstdc++-v3/acinclude.m4 +++ b/gcc-4.4.3/libstdc++-v3/acinclude.m4 @@ -124,7 +124,7 @@ AC_DEFUN([GLIBCXX_CONFIGURE], [ ## (Right now, this only matters for enable_wchar_t, but nothing prevents ## other macros from doing the same. This should be automated.) -pme - # Check for uClibc since Linux platforms use different configuration + # Check for C library flavor since Linux platforms use different configuration # directories depending on the C library in use. AC_EGREP_CPP([_using_uclibc], [ #include <stdio.h> @@ -133,6 +133,13 @@ AC_DEFUN([GLIBCXX_CONFIGURE], [ #endif ], uclibc=yes, uclibc=no) + AC_EGREP_CPP([_using_bionic], [ + #include <stdio.h> + #if __BIONIC__ + _using_bionic + #endif + ], bionic=yes, bionic=no) + # Find platform-specific directories containing configuration info. # Also possibly modify flags used elsewhere, as needed by the platform. GLIBCXX_CHECK_HOST |