[Bug 246700] [exp-run] Update GCC_DEFAULT from 9 to 10

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Jul 5 09:49:21 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=246700

--- Comment #57 from Gerald Pfeifer <gerald at 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} == gfortran && ${GCC_DEFAULT} >= 10
> FFLAGS+=	-fallow-invalid-boz
> .endif

Sorry, this slipped through somehow. 

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.)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list