aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-10-22 08:13:44 +0200
committerGitHub <noreply@github.com>2021-10-22 08:13:44 +0200
commit7247d5a2d07ff40b9e5e6ac51d8a6be91b23bfd8 (patch)
tree1ae09dda6c6ff4abc44ed0928ccf63833a937553 /src
parentbeeb481aa9ffdeca375fec8ce7a9543190a7b346 (diff)
downloadfpm-7247d5a2d07ff40b9e5e6ac51d8a6be91b23bfd8.tar.gz
fpm-7247d5a2d07ff40b9e5e6ac51d8a6be91b23bfd8.zip
Add LFortran optimization flag to release profile (#597)
Diffstat (limited to 'src')
-rw-r--r--src/fpm_compiler.f907
1 files changed, 6 insertions, 1 deletions
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