aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpm/src/fpm_command_line.f904
1 files changed, 2 insertions, 2 deletions
diff --git a/fpm/src/fpm_command_line.f90 b/fpm/src/fpm_command_line.f90
index 4f38204..92330da 100644
--- a/fpm/src/fpm_command_line.f90
+++ b/fpm/src/fpm_command_line.f90
@@ -471,7 +471,7 @@ contains
val_compiler='gfortran'
endif
- val_flag = sget('flag')
+ val_flag = " " // sget('flag')
val_profile = sget('profile')
if (val_flag == '') then
call get_default_compile_flags(val_compiler, val_profile == "release", val_flag)
@@ -479,7 +479,7 @@ contains
select case(val_profile)
case("release", "debug")
call get_default_compile_flags(val_compiler, val_profile == "release", flags)
- val_flag = flags // " " // val_flag
+ val_flag = flags // val_flag
end select
end if
allocate(character(len=16) :: val_build)