aboutsummaryrefslogtreecommitdiff
path: root/math/scalapack/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/scalapack/Makefile')
-rw-r--r--math/scalapack/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/scalapack/Makefile b/math/scalapack/Makefile
index 6c5c23bd80cd..92ade1f7329c 100644
--- a/math/scalapack/Makefile
+++ b/math/scalapack/Makefile
@@ -100,6 +100,10 @@ MPIF77= ${LOCALBASE}/bin/mpif77
MPICC= ${LOCALBASE}/bin/mpicc
.endif
+# USES=fortran already forces FC to a supported fortran compiler;
+# assume mpicc points to a compatible compiler and force that, too.
+CC= ${MPICC}
+
pre-configure:
${CP} -p ${WRKSRC}/Makefile ${WRKSRC}/Makefile.dist
${CP} ${WRKSRC}/SLmake.inc.example ${WRKSRC}/SLmake.inc