diff options
-rw-r--r-- | fpm/src/fpm_compiler.f90 | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/fpm/src/fpm_compiler.f90 b/fpm/src/fpm_compiler.f90 index 081c1f7..540b48f 100644 --- a/fpm/src/fpm_compiler.f90 +++ b/fpm/src/fpm_compiler.f90 @@ -186,11 +186,21 @@ character(len=:),allocatable :: module_path_switch case('release_nagfor') module_path_switch='-mdir ' - fflags = ' ' + fflags = ' & + & -O4& + & -coarray=single& + & -PIC& + ' case('debug_nagfor') module_path_switch='-mdir ' - fflags = ' ' - + fflags = '& + & -g& + & -C=all& + & -O0& + & -gline& + & -coarray=single& + & -PIC& + ' case('release_crayftn') module_path_switch='-J ' fflags = ' ' |