diff options
author | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2021-08-23 17:32:32 +0200 |
---|---|---|
committer | Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> | 2021-08-23 17:32:32 +0200 |
commit | 9a034764283c4fa307e25388855b4dcdc0472f9e (patch) | |
tree | 63fe9da05dc6aae999f5855900e6a5e4962c7cd4 | |
parent | 937b87e3a179d8ee969cf157ddd36c1f5cf51698 (diff) | |
download | fpm-9a034764283c4fa307e25388855b4dcdc0472f9e.tar.gz fpm-9a034764283c4fa307e25388855b4dcdc0472f9e.zip |
Use cc together as C compiler together with LFortran
-rw-r--r-- | src/fpm_compiler.f90 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fpm_compiler.f90 b/src/fpm_compiler.f90 index fd582c1..d78da10 100644 --- a/src/fpm_compiler.f90 +++ b/src/fpm_compiler.f90 @@ -443,6 +443,9 @@ subroutine get_default_c_compiler(f_compiler, c_compiler) case(id_ibmxl) c_compiler='xlc' + case(id_lfortran) + c_compiler = 'cc' + case default ! Fall-back to using Fortran compiler c_compiler = f_compiler |