Skip to content
Snippets Groups Projects
Commit 255fbdef authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Adding fPIC to zlib

parent 2dd0e25b
No related branches found
No related tags found
No related merge requests found
Pipeline #4591 failed
......@@ -22,7 +22,7 @@ if [ ! -d "$1/ZLIB" -a x"$platform" != x"cygwin" ]; then
tar -xf zlib-1.2.12.tar.gz
cd zlib-1.2.12
CC=mpicc ./configure --prefix=$1/ZLIB
CC=mpicc CFLAGS=-fPIC ./configure --prefix=$1/ZLIB
make -j $2
if [ $? -eq 0 ]; then
make check install
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment