Browse Source

Fix MacOS protoc release (#5638)

* Use set -ex
* Use -std=c++14 so -latomic can be found
Hao Nguyen 6 years ago
parent
commit
45a723b40d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      kokoro/release/protoc/macos/build.sh

+ 2 - 2
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