aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomasz Wasilczyk <twasilczyk@google.com>2023-11-15 12:36:35 -0800
committerTomasz Wasilczyk <twasilczyk@google.com>2023-11-15 20:38:55 +0000
commita0724395fdd91c268276abe2c2f7da4129e492da (patch)
tree00d9d7f6a520aef07d55975add8bf45906403ae2
parent7154b8edddca6d503baf5dee2a69db6c34aaa84f (diff)
downloadtensorflow-a0724395fdd91c268276abe2c2f7da4129e492da.tar.gz
tensorflow: pin cpp_std to gnu++17
This project doesn't build with gnu++20 and prevents AOSP default to be upgraded to a newer standard. Once the build failure is fixed here, this change can be reverted. Bug: 311052584 Test: m checkbuild Change-Id: Ifc3c3e8913daf9c9eb4d4e5cf98794f57f725675
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 95746d2bfb8..080b5dd4e54 100644
--- a/Android.bp
+++ b/Android.bp
@@ -190,6 +190,7 @@ cc_library_static {
"-Wno-unused-but-set-variable",
"-Wno-unused-parameter",
],
+ cpp_std: "gnu++17",
stl: "libc++_static",
}