1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

Add workaround for new failure with Fortran GCC 10 frontend:

Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)).

PR:		246700
Approved by:	maintainer
This commit is contained in:
Mark Linimon 2020-11-17 22:37:32 +00:00
parent 991d8c1f72
commit e441fb8ce5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555604

View File

@ -26,4 +26,12 @@ do-install:
${INSTALL_PROGRAM} ${WRKSRC}/md ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/md ${STAGEDIR}${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/mdp ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/mdp ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.pre.mk>
.if ${GCC_DEFAULT} >= 10
# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (INTEGER(4)/REAL(4)).
# in theory, this should set FCFLAGS, but the port does not conform
FFLAGS+= -fallow-argument-mismatch
.endif
.include <bsd.port.mk> .include <bsd.port.mk>