diff options
author | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2021-03-18 13:02:57 +0100 |
---|---|---|
committer | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2021-03-18 13:02:57 +0100 |
commit | fa9a499484193c6adace0c1af379a1e036a65f85 (patch) | |
tree | 6158a306f340bf0fa85dc3e98577fb46329efc38 | |
parent | a50a1b68f5466ba698ce2d7b694f2aa091aeddff (diff) | |
download | fpm-fa9a499484193c6adace0c1af379a1e036a65f85.tar.gz fpm-fa9a499484193c6adace0c1af379a1e036a65f85.zip |
Make sure to always add a leading space to compile flags
-rw-r--r-- | fpm/src/fpm_command_line.f90 | 4 |
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) |