Skip to content

Commit

Permalink
Feature 1926. Revert tweak to CXX optimisation level with MET_DEVELOP…
Browse files Browse the repository at this point in the history
…MENT.
  • Loading branch information
mo-mglover committed Nov 22, 2021
1 parent 7d81d41 commit 3ff12fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion met/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ AC_SUBST(FC_LIBS, [-lgfortran])
# For development, retain the "-g" option. Otherwise, discard it.

AM_COND_IF([ENABLE_DEVELOPMENT], [: ${CFLAGS_OPT="-g -O2"}], [: ${CFLAGS_OPT="-O2"}])
AM_COND_IF([ENABLE_DEVELOPMENT], [: ${CXXFLAGS_OPT="-g"} ], [: ${CXXFLAGS_OPT="-O3"}] )
AM_COND_IF([ENABLE_DEVELOPMENT], [: ${CXXFLAGS_OPT="-g"} ], [: ${CXXFLAGS_OPT=""}] )
AM_COND_IF([ENABLE_DEVELOPMENT], [: ${FFLAGS_OPT="-g -O2"}], [: ${FFLAGS_OPT="-O2"}])

AM_COND_IF([ENABLE_OPENMP], [: ${CFLAGS_OMP="-fopenmp"}], [: ${CFLAGS_OMP=""}])
Expand Down

0 comments on commit 3ff12fe

Please sign in to comment.