ADD: added new version of protobuf
This commit is contained in:
@@ -4,9 +4,12 @@ set -ex
|
||||
CXXFLAGS_COMMON="-std=c++14 -DNDEBUG -mmacosx-version-min=10.9"
|
||||
|
||||
cd github/protobuf
|
||||
./autogen.sh
|
||||
|
||||
bazel build //:protoc --dynamic_mode=off
|
||||
mkdir -p build64/src
|
||||
cp bazel-bin/protoc build64/src/protoc
|
||||
file bazel-bin/protoc
|
||||
otool -L bazel-bin/protoc | grep dylib
|
||||
mkdir build64 && cd build64
|
||||
export CXXFLAGS="$CXXFLAGS_COMMON -m64"
|
||||
../configure --disable-shared
|
||||
make -j4
|
||||
file src/protoc
|
||||
otool -L src/protoc | grep dylib
|
||||
cd ..
|
||||
|
||||
Reference in New Issue
Block a user