aboutsummaryrefslogtreecommitdiff
path: root/src/fpm_compiler.f90
diff options
context:
space:
mode:
authorSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-08-23 17:32:32 +0200
committerSebastian Ehlert <28669218+awvwgk@users.noreply.github.com>2021-08-23 17:32:32 +0200
commit9a034764283c4fa307e25388855b4dcdc0472f9e (patch)
tree63fe9da05dc6aae999f5855900e6a5e4962c7cd4 /src/fpm_compiler.f90
parent937b87e3a179d8ee969cf157ddd36c1f5cf51698 (diff)
downloadfpm-9a034764283c4fa307e25388855b4dcdc0472f9e.tar.gz
fpm-9a034764283c4fa307e25388855b4dcdc0472f9e.zip
Use cc together as C compiler together with LFortran
Diffstat (limited to 'src/fpm_compiler.f90')
-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