diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2012-12-24 19:53:10 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2012-12-25 02:24:52 +0800 |
commit | 946c2a6b57ac7d3b2b656ac628bcb14a216ec635 (patch) | |
tree | 7493d6ed9a839afec44bcc2803b7af3d3887b9f8 /gcc-4.7/libstdc++-v3 | |
parent | 40c7254330088e605a544fe4ab0c25beb63fce20 (diff) | |
download | toolchain_gcc-946c2a6b57ac7d3b2b656ac628bcb14a216ec635.tar.gz toolchain_gcc-946c2a6b57ac7d3b2b656ac628bcb14a216ec635.tar.bz2 toolchain_gcc-946c2a6b57ac7d3b2b656ac628bcb14a216ec635.zip |
Enable _GLIBCXX_HAS_GTHREADS in GCC 4.7
Fix a test in libstdc++/confiugre to include $glibcxx_thread_h instead
of gthr.h otherwise it will fail to detect gthread lib because the
new gthr.h only include gthr-default.h which doesn't exist in source
directory
See issue http://code.google.com/p/android/issues/detail?id=41770
Change-Id: I736b7ba2b472a26f9e43097bb88fb68325114a7d
Diffstat (limited to 'gcc-4.7/libstdc++-v3')
-rwxr-xr-x | gcc-4.7/libstdc++-v3/configure | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.7/libstdc++-v3/configure b/gcc-4.7/libstdc++-v3/configure index 092bc4a60..aea3acc33 100755 --- a/gcc-4.7/libstdc++-v3/configure +++ b/gcc-4.7/libstdc++-v3/configure @@ -65608,7 +65608,7 @@ $as_echo_n "checking for gthreads library... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ -#include "gthr.h" +#include "$glibcxx_thread_h" int main () { |