aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2026-05-07 17:33:46 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2026-05-10 10:31:01 +0000
commit425f5fddf0c1346bc3b865e43cb4b986b45e8227 (patch)
tree57fafaad5dbe97c52db303300fade914dfb91794
parentae16e772774797e19e2c95f2bf89a4cc284fa2e7 (diff)
lang/python314: enable LTO on powerpc64
Also drop sparc64 conditional.
-rw-r--r--lang/python314/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/lang/python314/Makefile b/lang/python314/Makefile
index 404a636e7cf6..d3513d47ad73 100644
--- a/lang/python314/Makefile
+++ b/lang/python314/Makefile
@@ -1,6 +1,6 @@
PORTNAME= python
DISTVERSION= ${PYTHON_DISTVERSION} # see Makefile.version
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= lang python
MASTER_SITES= PYTHON/ftp/python/${DISTVERSION:C/[a-z].*//}
PKGNAMESUFFIX= ${PYTHON_SUFFIX}
@@ -58,7 +58,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
OPTIONS_RADIO= HASH
OPTIONS_RADIO_HASH= FNV SIPHASH
@@ -109,10 +108,6 @@ PLIST_FILES+= bin/python${PYTHON_VER}${ABIFLAGS} \
libdata/pkgconfig/python-${PYTHON_VER}${ABIFLAGS}-embed.pc
.endif
-.if ${ARCH} == sparc64
-CFLAGS+= -DPYTHON_DEFAULT_RECURSION_LIMIT=900
-.endif
-
# See https://bugs.freebsd.org/115940 and https://bugs.freebsd.org/193650
.if !exists(/usr/bin/ypcat) || defined(WITHOUT_NIS)
PLIST_SUB+= NO_NIS="@comment "