Skip to content

Commit 9a03476

Browse files
committed
Use cc together as C compiler together with LFortran
1 parent 937b87e commit 9a03476

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fpm_compiler.f90

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -443,6 +443,9 @@ subroutine get_default_c_compiler(f_compiler, c_compiler)
443443
case(id_ibmxl)
444444
c_compiler='xlc'
445445

446+
case(id_lfortran)
447+
c_compiler = 'cc'
448+
446449
case default
447450
! Fall-back to using Fortran compiler
448451
c_compiler = f_compiler

0 commit comments

Comments
 (0)