aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fpm_compiler.f903
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