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 d78da10..c8858b7 100644
--- a/src/fpm_compiler.f90
+++ b/src/fpm_compiler.f90
@@ -446,6 +446,9 @@ subroutine get_default_c_compiler(f_compiler, c_compiler)
case(id_lfortran)
c_compiler = 'cc'
+ case(id_gcc)
+ c_compiler = 'gcc'
+
case default
! Fall-back to using Fortran compiler
c_compiler = f_compiler