diff options
Diffstat (limited to 'gcc-4.9/libstdc++-v3/config.h.in')
-rw-r--r-- | gcc-4.9/libstdc++-v3/config.h.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc-4.9/libstdc++-v3/config.h.in b/gcc-4.9/libstdc++-v3/config.h.in index adc7d44ee..ee77add48 100644 --- a/gcc-4.9/libstdc++-v3/config.h.in +++ b/gcc-4.9/libstdc++-v3/config.h.in @@ -824,8 +824,11 @@ this host. */ #undef _GLIBCXX_USE_DECIMAL_FLOAT -/* Define if __float128 is supported on this host. */ +/* Define if __float128 is supported on this host. + Hide all uses of __float128 from Clang. Google ref b/6422845 */ +#ifndef __clang__ #undef _GLIBCXX_USE_FLOAT128 +#endif /* Defined if gettimeofday is available. */ #undef _GLIBCXX_USE_GETTIMEOFDAY @@ -876,8 +879,11 @@ /* Define to 1 if a verbose library is built, or 0 otherwise. */ #undef _GLIBCXX_VERBOSE -/* Defined if as can handle rdrand. */ +/* Defined if as can handle rdrand. + Disable when building with Clang. Google ref b/8680429 */ +#ifndef __clang__ #undef _GLIBCXX_X86_RDRAND +#endif /* Define to 1 if mutex_timedlock is available. */ #undef _GTHREAD_USE_MUTEX_TIMEDLOCK |