Skip to content

Commit 4219e72

Browse files
derekmaurocopybara-github
authored andcommitted
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
1 parent 96f5142 commit 4219e72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ci/linux-presubmit.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ time docker run \
7272
--workdir="/src" \
7373
--rm \
7474
--env="CC=/usr/local/bin/gcc" \
75+
--env="BAZEL_CXXOPTS=-std=c++14" \
7576
${LINUX_GCC_FLOOR_CONTAINER} \
7677
/usr/local/bin/bazel test ... \
7778
--copt="-Wall" \

0 commit comments

Comments
 (0)