From 4219e7254cb8c473f57f6065bd13d1520d7b708f Mon Sep 17 00:00:00 2001 From: Derek Mauro Date: Fri, 1 Jul 2022 10:53:18 -0700 Subject: [PATCH] Remove the Bazel provided default cxxopt -std=c++0x and replace it with -std=c++14 when testing with GCC 5. PiperOrigin-RevId: 458502826 Change-Id: I83637a222b5c0a54e55d93ce7fdbc878af27b250 --- ci/linux-presubmit.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/ci/linux-presubmit.sh b/ci/linux-presubmit.sh index 09abdc87..f7e0f465 100644 --- a/ci/linux-presubmit.sh +++ b/ci/linux-presubmit.sh @@ -72,6 +72,7 @@ time docker run \ --workdir="/src" \ --rm \ --env="CC=/usr/local/bin/gcc" \ + --env="BAZEL_CXXOPTS=-std=c++14" \ ${LINUX_GCC_FLOOR_CONTAINER} \ /usr/local/bin/bazel test ... \ --copt="-Wall" \