summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-02-21 01:13:36 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-04-24 20:52:27 -0500
commit960498f20d23a1dffad2aa308ce54d538ba079fa (patch)
treeb47130771154bfcde640bc5fb0303c2a603d6889
parent7e7cb2dc6dbfa3d49d9f488ef383914385ca39d9 (diff)
downloadpackages-960498f20d23a1dffad2aa308ce54d538ba079fa.tar.gz
packages-960498f20d23a1dffad2aa308ce54d538ba079fa.tar.bz2
packages-960498f20d23a1dffad2aa308ce54d538ba079fa.tar.xz
packages-960498f20d23a1dffad2aa308ce54d538ba079fa.zip
system/python3: Make stack size platform-agnostic
-rw-r--r--system/python3/APKBUILD7
1 files changed, 2 insertions, 5 deletions
diff --git a/system/python3/APKBUILD b/system/python3/APKBUILD
index e09001beb..ba29bea30 100644
--- a/system/python3/APKBUILD
+++ b/system/python3/APKBUILD
@@ -94,12 +94,9 @@ build() {
--with-system-ffi \
--with-threads
- # set thread stack size to 1MB so we don't segfault before we hit
+ # set thread stack size to 2MB so we don't segfault before we hit
# sys.getrecursionlimit()
- stacksize=0x100000;
- case "$CARCH" in
- ppc64) stacksize=0x200000;;
- esac
+ stacksize=0x200000;
make EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=$stacksize"
}