diff --git a/kokoro/release/protoc/macos/build.sh b/kokoro/release/protoc/macos/build.sh index db9d3140db..6a4c79c7de 100644 --- a/kokoro/release/protoc/macos/build.sh +++ b/kokoro/release/protoc/macos/build.sh @@ -1,7 +1,7 @@ #!/bin/bash -set -x -CXXFLAGS_COMMON="-DNDEBUG -mmacosx-version-min=10.9" +set -ex +CXXFLAGS_COMMON="-std=c++14 -DNDEBUG -mmacosx-version-min=10.9" cd github/protobuf ./autogen.sh