aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2013-04-02 19:41:43 +0800
committerAndrew Hsieh <andrewhsieh@google.com>2013-04-02 20:35:50 +0800
commite830d092a4da90315a8c7bbe886582fc6357606d (patch)
tree91b264eef012c957d5f28d0fba5c53fe0ba01ff4 /gcc-4.8
parent0e1e4c378ef579441c3815c6213422f1df530f9b (diff)
downloadtoolchain_gcc-e830d092a4da90315a8c7bbe886582fc6357606d.tar.gz
toolchain_gcc-e830d092a4da90315a8c7bbe886582fc6357606d.tar.bz2
toolchain_gcc-e830d092a4da90315a8c7bbe886582fc6357606d.zip
[4.8] Enable _GLIBCXX_HAS_GTHREADS in GCC 4.8
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 946c2a6b57ac7d3b2b656ac628bcb14a216ec635 Change-Id: I13bd69f45ddee8b38055f0264c8aa484df0761d2
Diffstat (limited to 'gcc-4.8')
-rwxr-xr-xgcc-4.8/libstdc++-v3/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc-4.8/libstdc++-v3/configure b/gcc-4.8/libstdc++-v3/configure
index f40ddcff9..faaa53ddd 100755
--- a/gcc-4.8/libstdc++-v3/configure
+++ b/gcc-4.8/libstdc++-v3/configure
@@ -72210,7 +72210,7 @@ $as_echo_n "checking for gthreads library... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
-#include "gthr.h"
+#include "gthr-$target_thread_file.h"
int
main ()
{