summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2019-08-01 05:43:07 (GMT)
committerGitHub <noreply@github.com>2019-08-01 05:43:07 (GMT)
commit1a057bab0f18d6ad843ce321d1d77a4819497ae4 (patch)
tree4018de28edc28e3bcd8564de6d790b7ad4384bbb /configure
parented5e8e06cbf766e89d6c58a882ee024abb5b2ed7 (diff)
downloadcpython-1a057bab0f18d6ad843ce321d1d77a4819497ae4.zip
cpython-1a057bab0f18d6ad843ce321d1d77a4819497ae4.tar.gz
cpython-1a057bab0f18d6ad843ce321d1d77a4819497ae4.tar.bz2
bpo-18049: Sync thread stack size to main thread size on macOS (GH-14748)
This changeset increases the default size of the stack for threads on macOS to the size of the stack of the main thread and reenables the relevant recursion test.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 4cea98e..bffb849 100755
--- a/configure
+++ b/configure
@@ -9542,6 +9542,8 @@ then
# Issue #18075: the default maximum stack size (8MBytes) is too
# small for the default recursion limit. Increase the stack size
# to ensure that tests don't crash
+ # Note: This matches the value of THREAD_STACK_SIZE in
+ # thread_pthread.h
LINKFORSHARED="-Wl,-stack_size,1000000 $LINKFORSHARED"
if test "$enable_framework"