--- MITgcm/tools/build_options/linux_ia32_gfortran 2005/06/17 22:38:18 1.2 +++ MITgcm/tools/build_options/linux_ia32_gfortran 2005/10/16 06:35:31 1.3 @@ -1,6 +1,6 @@ #!/bin/bash # -# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/build_options/linux_ia32_gfortran,v 1.2 2005/06/17 22:38:18 edhill Exp $ +# $Header: /home/ubuntu/mnt/e9_copy/MITgcm/tools/build_options/linux_ia32_gfortran,v 1.3 2005/10/16 06:35:31 edhill Exp $ # $Name: $ # @@ -22,16 +22,17 @@ if test "x$IEEE" = x ; then # No need for IEEE-754 - FFLAGS='-Wimplicit -Wunused -Wuninitialized' + # "warning: -Wuninitialized is not supported without -O" + FFLAGS='-Wunused' FOPTIM='-O3 -malign-double -funroll-loops' else # Try to follow IEEE-754 has_sse2=f grep flags /proc/cpuinfo | grep sse2 > /dev/null 2>&1 && has_sse2=t if test "x$has_sse2" = xt ; then - FFLAGS='-Wimplicit -Wunused -mfpmath=sse -msse -msse2' + FFLAGS='-Wunused -mfpmath=sse -msse -msse2' else - FFLAGS='-Wimplicit -Wunused -ffloat-store' + FFLAGS='-Wunused -ffloat-store' fi # echo 'FFLAGS="'$FFLAGS'"' FOPTIM='-O0 -malign-double'