diff options
author | Ryan Prichard <rprichard@google.com> | 2024-04-11 19:29:08 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2024-04-11 19:29:08 +0000 |
commit | 49f337160b073378313e33d3ce872925ed3307c1 (patch) | |
tree | 3ff1d4e0fc5bc890f9221eeb104a08916d18d17a | |
parent | b223b240c3cd85b028373b0513907b0625a59161 (diff) | |
parent | 722f2dd68529341306613d6a737b6a7e7ab789d8 (diff) | |
download | llvm-master.tar.gz |
-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: [ |