Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2020 22:17:28 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555594 - head/math/scalapack
Message-ID:  <202011172217.0AHMHSUx006071@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Tue Nov 17 22:17:27 2020
New Revision: 555594
URL: https://svnweb.freebsd.org/changeset/ports/555594

Log:
  Add workaround for Fortran frontend to GCC 10.
  
  PR:		246700

Modified:
  head/math/scalapack/Makefile

Modified: head/math/scalapack/Makefile
==============================================================================
--- head/math/scalapack/Makefile	Tue Nov 17 22:15:22 2020	(r555593)
+++ head/math/scalapack/Makefile	Tue Nov 17 22:17:27 2020	(r555594)
@@ -75,6 +75,11 @@ CFLAGS+=	${FPIC}
 FFLAGS+=	${FPIC}
 SVERSION=	2
 
+.if ${GCC_DEFAULT} >= 10
+# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
+FFLAGS+=	-fallow-argument-mismatch
+.endif
+
 .if defined(WITH_OPTIMIZED_FLAGS)
 .if ${ARCH} == "amd64"
 FFLAGS+=	-pipe -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011172217.0AHMHSUx006071>