Commits

Kacper Kowalik  committed fe9dbc6

Ensure that lapack is built with -fPIC. Fixes #495

  • Participants
  • Parent commits d6fe508
  • Branches yt

Comments (0)

Files changed (1)

File doc/install_script.sh

 	    echo "Building LAPACK"
 	    cd lapack-3.4.2/
 	    cp INSTALL/make.inc.gfortran make.inc
-	    make lapacklib CFLAGS=-fPIC LDFLAGS=-fPIC 1>> ${LOG_FILE} || do_exit
+	    make lapacklib OPTS="-fPIC -O2" NOOPT="-fPIC -O0" CFLAGS=-fPIC LDFLAGS=-fPIC 1>> ${LOG_FILE} || do_exit
 	    touch done
 	    cd ..
 	fi