Date: Sun, 05 Jul 2020 09:49:21 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 246700] [exp-run] Update GCC_DEFAULT from 9 to 10 Message-ID: <bug-246700-7788-RW1EuHQpon@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-246700-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-246700-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D246700 --- Comment #57 from Gerald Pfeifer <gerald@FreeBSD.org> --- (In reply to Tobias Kortkamp from comment #28) > What is the right idiom to check the GCC version in ports? Is this ok? > > .if ${FORTRAN_DEFAULT} =3D=3D gfortran && ${GCC_DEFAULT} >=3D 10 > FFLAGS+=3D -fallow-invalid-boz > .endif Sorry, this slipped through somehow.=20 Yes, Mk/Uses/fortran.mk currently uses GCC_DEFAULT. (This is a bit tricky, and originally USE_FORTRAN was handled as part of Mk/bsd.gcc.mk, but the snippet above is the best I can think of.) --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-246700-7788-RW1EuHQpon>