From 7247d5a2d07ff40b9e5e6ac51d8a6be91b23bfd8 Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Fri, 22 Oct 2021 08:13:44 +0200 Subject: Add LFortran optimization flag to release profile (#597) --- src/fpm_compiler.f90 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/fpm_compiler.f90 b/src/fpm_compiler.f90 index e3c4719..64c7179 100644 --- a/src/fpm_compiler.f90 +++ b/src/fpm_compiler.f90 @@ -168,6 +168,9 @@ character(*), parameter :: & flag_nag_debug = " -g -O0", & flag_nag_opt = " -O4", & flag_nag_backtrace = " -gline" + +character(*), parameter :: & + flag_lfortran_opt = " --fast" contains @@ -271,7 +274,9 @@ subroutine get_release_compile_flags(id, flags) flag_nag_pic case(id_lfortran) - flags = "" + flags = & + flag_lfortran_opt + end select end subroutine get_release_compile_flags -- cgit v1.2.3