Skip to content

Commit

Permalink
Merge pull request #448 from AtChem/optimisation_level
Browse files Browse the repository at this point in the history
Make -O2 the default optimisation level on gfortran.
  • Loading branch information
spco authored Feb 1, 2021
2 parents 48171a0 + 2b677b5 commit 9c06d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/install/Makefile.skel
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ endif

# set compilation flags for each compiler
ifeq ($(FORTC),"gnu")
FFLAGS = -fprofile-arcs -ftest-coverage -ffree-form -fimplicit-none -Wall -Wpedantic -fcheck=all -fPIC
FFLAGS = -O2 -fprofile-arcs -ftest-coverage -ffree-form -fimplicit-none -Wall -Wpedantic -fcheck=all -fPIC
FSHAREDFLAGS = -ffree-line-length-none -ffree-form -fimplicit-none -Wall -Wpedantic -Wno-unused-dummy-argument -fcheck=all -fPIC -shared
endif
ifeq ($(FORTC),"intel")
Expand Down

0 comments on commit 9c06d09

Please sign in to comment.