git: 961bbfc94bd6 - main - lang/python311: disable LTO on powerpc64le

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Tue, 09 Jul 2024 10:04:48 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=961bbfc94bd617321d304f8da70573c707f2c704

commit 961bbfc94bd617321d304f8da70573c707f2c704
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-07-06 12:23:44 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-07-09 10:04:24 +0000

    lang/python311: disable LTO on powerpc64le
    
    While LTOized python seems mostly fine, it crashes during build of x11/mate-terminal:
    pid 71560 (python3.11), jid 151, uid 65534: exited on signal 11 (core dumped)
    
    After disabling LTO, x11/mate-terminal builds fine.
---
 lang/python311/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lang/python311/Makefile b/lang/python311/Makefile
index c996da90018c..2f2f540b4385 100644
--- a/lang/python311/Makefile
+++ b/lang/python311/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	python
 DISTVERSION=	${PYTHON_DISTVERSION}
+PORTREVISION=	1
 CATEGORIES=	lang python
 MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//}
 PKGNAMESUFFIX=	${PYTHON_SUFFIX}
@@ -47,6 +48,7 @@ PLIST_SUB=		ABI=${ABIFLAGS} \
 OPTIONS_DEFINE=		DEBUG IPV6 LIBMPDEC LTO NLS PYMALLOC
 OPTIONS_DEFAULT=	LIBMPDEC LTO PYMALLOC
 OPTIONS_EXCLUDE_riscv64=	LTO
+OPTIONS_EXCLUDE_powerpc64le=	LTO
 OPTIONS_RADIO=		HASH
 OPTIONS_RADIO_HASH=	FNV SIPHASH
 OPTIONS_SUB=		yes