diff options
author | Derek Mauro <dmauro@google.com> | 2022-07-01 10:53:18 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-07-01 10:53:54 -0700 |
commit | 4219e7254cb8c473f57f6065bd13d1520d7b708f (patch) | |
tree | edfd67eaebdfc8db21ced0404e154e2361ae7d5e /ci | |
parent | 96f51426e4c776a71d0a446c1e4f4c7a5ea921df (diff) | |
download | googletest-4219e7254cb8c473f57f6065bd13d1520d7b708f.zip googletest-4219e7254cb8c473f57f6065bd13d1520d7b708f.tar.gz googletest-4219e7254cb8c473f57f6065bd13d1520d7b708f.tar.bz2 |
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
Diffstat (limited to 'ci')
-rw-r--r-- | ci/linux-presubmit.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ci/linux-presubmit.sh b/ci/linux-presubmit.sh index 09abdc8..f7e0f46 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" \ |