From 45a723b40dc63ddf23ee0d45c1daca3e4eae5919 Mon Sep 17 00:00:00 2001 From: Hao Nguyen <45579440+haon4@users.noreply.github.com> Date: Fri, 25 Jan 2019 21:05:22 -0800 Subject: [PATCH] Fix MacOS protoc release (#5638) * Use set -ex * Use -std=c++14 so -latomic can be found --- kokoro/release/protoc/macos/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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