Commit 639e33d5 authored by Pablo Toharia's avatar Pablo Toharia

Added -fPIC to protobuf.

parent bdab62be
......@@ -6,7 +6,8 @@ git checkout v3.1.0
mkdir -p Release
cd Release
cmake ../cmake/ -DCMAKE_BUILD_TYPE=Release -Dprotobuf_BUILD_TESTS=OFF \
-DCMAKE_INSTALL_PREFIX=~/opt/protobuf-3.1.0
-DCMAKE_INSTALL_PREFIX=~/opt/protobuf-3.1.0 \
-DCMAKE_CXX_FLAGS="-fPIC"
make install -j4
echo "module load protobuf-3.1.0" >> $HOME/.bashrc
source $HOME/.bashrc
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment