Date: Tue, 17 Nov 2020 22:34:27 +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: r555602 - head/science/latte Message-ID: <202011172234.0AHMYR2W019295@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Tue Nov 17 22:34:27 2020 New Revision: 555602 URL: https://svnweb.freebsd.org/changeset/ports/555602 Log: Add workaround for new failure with Fortran GCC 10 frontend: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)). PR: 246700 Approved by: maintainer Modified: head/science/latte/Makefile Modified: head/science/latte/Makefile ============================================================================== --- head/science/latte/Makefile Tue Nov 17 22:32:32 2020 (r555601) +++ head/science/latte/Makefile Tue Nov 17 22:34:27 2020 (r555602) @@ -40,4 +40,12 @@ MPI_PLIST_FILES_OFF= bin/LATTE_DOUBLE CONFLICTS_INSTALL= latte-integrale +.include <bsd.port.pre.mk> + +.if ${GCC_DEFAULT} >= 10 +# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)). +# in theory, this should set FCFLAGS, but the port does not conform +FFLAGS+= -fallow-argument-mismatch +.endif + .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011172234.0AHMYR2W019295>