Files
MINGW-packages/mingw-w64-python/0080-configure.ac-set-MINGW-stack-reserve.patch
Christoph Reiter 8198ab6550 python: Update to 3.9.7
This also adds builtin zoneinfo support like on Unix
2021-09-22 09:11:46 +02:00

29 lines
672 B
Diff

From 2a92ce2774eee311160740719a7c80e85c62ab36 Mon Sep 17 00:00:00 2001
From: jeremyd2019 <4524874+jeremyd2019@users.noreply.github.com>
Date: Thu, 17 Jun 2021 18:52:37 +0530
Subject: [PATCH 080/N] configure.ac: set MINGW stack reserve
---
configure.ac | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure.ac b/configure.ac
index 588ffd4..5b41066 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3065,6 +3065,11 @@ then
VxWorks*)
LINKFORSHARED='--export-dynamic';;
esac
+ case $host in
+ *-*-mingw*)
+ # for https://bugs.python.org/issue40458 on MINGW
+ LINKFORSHARED="-Wl,--stack,2000000";;
+ esac
fi
AC_MSG_RESULT($LINKFORSHARED)
--
2.33.0