summaryrefslogtreecommitdiffstats
path: root/config/gnu-fflags
diff options
context:
space:
mode:
Diffstat (limited to 'config/gnu-fflags')
-rw-r--r--config/gnu-fflags27
1 files changed, 14 insertions, 13 deletions
diff --git a/config/gnu-fflags b/config/gnu-fflags
index 07038ab..eb7a61d 100644
--- a/config/gnu-fflags
+++ b/config/gnu-fflags
@@ -89,23 +89,11 @@ if test "X-gfortran" = "X-$f9x_vendor"; then
H5_FCFLAGS="$H5_FCFLAGS $arch"
- ################
- # Optimization #
- ################
-
- if test $f9x_vers_major -le 4; then
- HIGH_OPT_FCFLAGS="-O3"
- DEBUG_OPT_FCFLAGS=
- else
- HIGH_OPT_FCFLAGS="-O3"
- DEBUG_OPT_FCFLAGS="-Og"
- fi
-
##############
# Production #
##############
- PROD_FCFLAGS=$HIGH_OPT_FCFLAGS
+ PROD_FCFLAGS=
#########
# Debug #
@@ -130,6 +118,19 @@ if test "X-gfortran" = "X-$f9x_vendor"; then
PROFILE_FCFLAGS="-pg"
+ ################
+ # Optimization #
+ ################
+
+ if test $f9x_vers_major -le 4; then
+ HIGH_OPT_FCFLAGS="-O3"
+ DEBUG_OPT_FCFLAGS=
+ else
+ HIGH_OPT_FCFLAGS="-O3"
+ DEBUG_OPT_FCFLAGS="-Og"
+ fi
+ NO_OPT_FCFLAGS="-O0"
+
############
# Warnings #
############