From 9a034764283c4fa307e25388855b4dcdc0472f9e Mon Sep 17 00:00:00 2001 From: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com> Date: Mon, 23 Aug 2021 17:32:32 +0200 Subject: Use cc together as C compiler together with LFortran --- src/fpm_compiler.f90 | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3