Merge "Remove -Wno-thread-safety-negative"

This commit is contained in:
Colin Cross
2019-11-09 02:34:29 +00:00
committed by Gerrit Code Review

View File

@@ -139,9 +139,7 @@ func init() {
pctx.StaticVariable("ClangExtraCppflags", strings.Join([]string{ pctx.StaticVariable("ClangExtraCppflags", strings.Join([]string{
// Enable clang's thread-safety annotations in libcxx. // Enable clang's thread-safety annotations in libcxx.
// Turn off -Wthread-safety-negative, to avoid breaking projects that use -Weverything.
"-D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS", "-D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS",
"-Wno-thread-safety-negative",
// libc++'s math.h has an #include_next outside of system_headers. // libc++'s math.h has an #include_next outside of system_headers.
"-Wno-gnu-include-next", "-Wno-gnu-include-next",