10
0
mirror of https://gitlab.com/scemama/eplf synced 2024-10-31 19:23:55 +01:00

Configure options

This commit is contained in:
Anthony Scemama 2012-06-01 00:34:47 +02:00
parent b43bc90498
commit 1fba725094

View File

@ -169,13 +169,13 @@ case $FC in
IRPF90="$IRPF90 -DMPI"
;;
ifort*)
FCFLAGS="-O3 -axT -ip"
FCFLAGS="-O3 -axSSE2,AVX -ip"
if test $STATIC == 1 ; then
FCFLAGS="$FCFLAGS -static-intel -static-libgcc -static"
fi
;;
gfortran*)
FCFLAGS="-O3 -ffast-math"
FCFLAGS="-fPIC -O3 -ffast-math"
if test $STATIC == 0 ; then
FCFLAGS="$FCFLAGS -static-libgcc -static"
fi