From 1174e529c8de42fd7406dd02d3be7dd4ffe1e6e0 Mon Sep 17 00:00:00 2001 From: Christian Blichmann Date: Thu, 31 Mar 2022 05:18:10 -0700 Subject: [PATCH] bazel: Set host C++ standard Update `.bazelrc` for local (host target) tooling. This is a necessary precondition to compile the new interface generator with Bazel. PiperOrigin-RevId: 438541332 Change-Id: I9341ee4d1f4434c1d083e0d49774c61f9ebd7d7b --- .bazelrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.bazelrc b/.bazelrc index a68e070..4522b0f 100644 --- a/.bazelrc +++ b/.bazelrc @@ -1,2 +1,2 @@ # Build in C++17 mode without a custom CROSSTOOL -build --cxxopt=-std=c++17 +build --cxxopt=-std=c++17 --host_cxxopt=-std=c++17