diff options
-rw-r--r-- | Android.bp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp index 4189f3073ca5..cdf8594f6701 100644 --- a/Android.bp +++ b/Android.bp @@ -70,6 +70,8 @@ llvm_defaults { // TODO(b/153609531): remove when no longer needed. native_bridge_supported: true, + cpp_std: "c++11", + cflags: [ "-D_GNU_SOURCE", "-D__STDC_LIMIT_MACROS", @@ -84,6 +86,7 @@ llvm_defaults { "-Wno-maybe-uninitialized", "-Wno-missing-field-initializers", "-Wno-implicit-fallthrough", + "-Wno-deprecated-declarations", "-Wwrite-strings", "-Werror", "-Dsprintf=sprintf", @@ -91,7 +94,6 @@ llvm_defaults { cppflags: [ "-Wno-sign-promo", - "-std=c++11", ], tidy_checks: [ |