diff --git a/configure.ac b/configure.ac index 8d28a8d..a522edd 100644 --- a/configure.ac +++ b/configure.ac @@ -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