Skip to content

Commit 7247d5a

Browse files
authored
Add LFortran optimization flag to release profile (#597)
1 parent beeb481 commit 7247d5a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/fpm_compiler.f90

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,9 @@ module fpm_compiler
168168
flag_nag_debug = " -g -O0", &
169169
flag_nag_opt = " -O4", &
170170
flag_nag_backtrace = " -gline"
171+
172+
character(*), parameter :: &
173+
flag_lfortran_opt = " --fast"
171174

172175
contains
173176

@@ -271,7 +274,9 @@ subroutine get_release_compile_flags(id, flags)
271274
flag_nag_pic
272275

273276
case(id_lfortran)
274-
flags = ""
277+
flags = &
278+
flag_lfortran_opt
279+
275280
end select
276281
end subroutine get_release_compile_flags
277282

0 commit comments

Comments
 (0)