Re: git: c8c2d4f22536 - main - lang/python3: allow using LTO on powerpc64

From: Piotr Kubaj <pkubaj_at_anongoth.pl>
Date: Fri, 24 Feb 2023 18:41:13 UTC
OK, I missed that, but 13.1 will be EOL in 4 months and we still haven't
switched even to 3.10 by default, so it's ok.

On 23-02-24 18:17:44, Jan Beich wrote:
>Piotr Kubaj <pkubaj@FreeBSD.org> writes:
>
>> The branch main has been updated by pkubaj:
>>
>> URL: https://cgit.FreeBSD.org/ports/commit/?id=c8c2d4f2253694802ef720f098c57800570ad2fc
>>
>> commit c8c2d4f2253694802ef720f098c57800570ad2fc
>> Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
>> AuthorDate: 2023-02-24 15:48:16 +0000
>> Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
>> CommitDate: 2023-02-24 15:48:16 +0000
>>
>>     lang/python3: allow using LTO on powerpc64
>>
>>     It was recently fixed and will be available in 13.2-RELEASE.
>>     Since LTO is not enabled by default, it's ok to make it available.
>[...]
>> diff --git a/lang/python311/Makefile b/lang/python311/Makefile
>> index 537d1c352706..c1bbfa79002e 100644
>> --- a/lang/python311/Makefile
>> +++ b/lang/python311/Makefile
>> @@ -50,7 +50,6 @@ PLIST_SUB=		ABI=${ABIFLAGS} \
>>
>>  OPTIONS_DEFINE=		DEBUG IPV6 LIBMPDEC LTO NLS PYMALLOC
>>  OPTIONS_DEFAULT=	LIBMPDEC LTO PYMALLOC
>> -OPTIONS_EXCLUDE_powerpc64=	LTO
>>  OPTIONS_EXCLUDE_riscv64=	LTO
>
>Note, LTO is enabled by default in lang/python311.