1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00

Add workaround for Fortran frontend in GCC 10.

PR:		246700
This commit is contained in:
Mark Linimon 2020-11-17 22:15:22 +00:00
parent 346de0e398
commit 9657fec72c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555593

View File

@ -61,6 +61,11 @@ BLASLIB= -lblas
#LAPACKLIB= -llapack
.endif
.if ${GCC_DEFAULT} >= 10
# workaround for Type mismatch in argument 's' at (1); passed INTEGER(4) to LOGICAL(4)
FCFLAGS+= -fallow-argument-mismatch
.endif
pre-configure:
${INSTALL_DATA} ${WRKSRC}/Make.inc/Makefile.inc.generic.SEQ \
${WRKSRC}/Makefile.inc