Configure options

This commit is contained in:
Anthony Scemama 2012-06-01 00:34:47 +02:00
parent b43bc90498
commit 1fba725094
1 changed files with 2 additions and 2 deletions

View File

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