Skip to content

Commit

Permalink
Change the version of C++ used for protoc to the earliest supported.
Browse files Browse the repository at this point in the history
This allows builds to continue to work on older platforms.
  • Loading branch information
chrisstaite-menlo authored and allada committed Jul 8, 2023
1 parent 096d7ea commit b62338b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.

# Use latest supported C++ version for protoc.
build --cxxopt=-std=c++20 --host_cxxopt=-std=c++20 --repo_env=BAZEL_CXXOPTS=-std=c++20
# Use the earliest supported C++ version for protoc.
build --cxxopt=-std=c++14 --host_cxxopt=-std=c++14 --repo_env=BAZEL_CXXOPTS=-std=c++14

build --test_output=errors

Expand Down

0 comments on commit b62338b

Please sign in to comment.