diff options
Diffstat (limited to 'system')
-rw-r--r-- | system/python3/APKBUILD | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/system/python3/APKBUILD b/system/python3/APKBUILD index b3d971c8e..a4a44e6fb 100644 --- a/system/python3/APKBUILD +++ b/system/python3/APKBUILD @@ -95,7 +95,11 @@ build() { # set thread stack size to 1MB so we don't segfault before we hit # sys.getrecursionlimit() - make EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=0x100000" + stacksize=0x100000; + case "$CARCH" in + ppc64) stacksize=0x200000;; + esac + make EXTRA_CFLAGS="$CFLAGS -DTHREAD_STACK_SIZE=$stacksize" } check() { |