Skip to content

Commit

Permalink
Make -O2 the default optimisation level on gfortran.
Browse files Browse the repository at this point in the history
  • Loading branch information
spco committed Feb 1, 2021
1 parent 48171a0 commit 2b677b5
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 2b677b5

Please sign in to comment.