[Bug 276249] lang/python311: Fix armv7 build

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 02 Feb 2024 15:27:59 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276249

--- Comment #16 from Brad Davis <brd@FreeBSD.org> ---
It *might* be better to use something like this:

USES= compiler:features
.if ${CHOSEN_COMPILER_TYPE} == "clang" && ${COMPILER_VERSION} == 17
OPTIONS_EXCLUDE_armv7=  LTO
.endif

Since it would avoid it for people using GCC or a different version of clang
...

Thoughts?

And I hope the bug in clang17 is fixed at some point and this can be removed

-- 
You are receiving this mail because:
You are the assignee for the bug.