Merge "Remove -Wno-thread-safety-negative" am: 075cc44a86

am: dcee4049d6

Change-Id: I6f237a7d3faf6470d6b67218cf335462ff4d5820
This commit is contained in:
Colin Cross
2019-11-11 09:11:57 -08:00
committed by android-build-merger

View File

@@ -139,9 +139,7 @@ func init() {
pctx.StaticVariable("ClangExtraCppflags", strings.Join([]string{
// 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",
"-Wno-thread-safety-negative",
// libc++'s math.h has an #include_next outside of system_headers.
"-Wno-gnu-include-next",