Fix MacOS protoc release (#5638)

* Use set -ex
* Use -std=c++14 so -latomic can be found
This commit is contained in:
Hao Nguyen 2019-01-25 21:05:22 -08:00 committed by Bo Yang
parent 532c42586f
commit c143164986

View File

@ -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