Skip to content

Commit

Permalink
CHG: missing -fPIC install-linux.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuMorlighem committed Jun 21, 2024
1 parent 7541e0c commit 1ea61ca
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions externalpackages/m1qn3/install-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,15 @@ patch src/blas/ddot.f patch/ddot.f.patch

# Compile and install
if which mpifort 2>/dev/null; then
export FC="mpifort"
export FC="mpifort"
else
if which ifort 2>/dev/null; then
export FC="ifort"
export FFLAGS="-traceback -check all -fPIC" # -O2 is default
else
export FC="gfortran"
if [ `uname` == "Darwin" ]; then
FFLAGS="-arch $(uname -m)"
else
FFLAGS=""
fi
export FFLAGS
fi
fi
export FFLAGS="-fPIC" # -O2 is default

cd src/src
cp ../../configs/makefile .
Expand Down

0 comments on commit 1ea61ca

Please sign in to comment.