浏览代码

Fix MacOS protoc release (#5638)

* Use set -ex
* Use -std=c++14 so -latomic can be found
Hao Nguyen 6 年之前
父节点
当前提交
45a723b40d
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      kokoro/release/protoc/macos/build.sh

+ 2 - 2
kokoro/release/protoc/macos/build.sh

@@ -1,7 +1,7 @@
 #!/bin/bash
 #!/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
 cd github/protobuf
 ./autogen.sh
 ./autogen.sh