Merge pull request #3504 from pherl/3.4.x

Prefer system distributed binaries/libraries.
This commit is contained in:
Jisi Liu 2017-08-18 16:19:45 -07:00 committed by GitHub
commit fdb5cd5e4b

View File

@ -47,6 +47,9 @@ cd $DIR/protobuf-${PROTOBUF_VERSION}
sed -i '/AC_PROG_OBJC/d' configure.ac
sed -i 's/conformance\/Makefile//g' configure.ac
# Use the /usr/bin/autoconf and related tools to pick the correct aclocal macros
export PATH="/usr/bin:$PATH"
# Build protoc
./autogen.sh
CXXFLAGS="-fPIC -g -O2" ./configure