27 lines
686 B
Diff
27 lines
686 B
Diff
From 7a0e0c4be51934d9837a8b348075314f2ee60383 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 044/N] configure: set MINGW stack reserve
|
|
|
|
to match the MSVC build
|
|
---
|
|
configure.ac | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/configure.ac b/configure.ac
|
|
index 408fcda..b3516c7 100644
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -3844,6 +3844,11 @@ then
|
|
VxWorks*)
|
|
LINKFORSHARED='-Wl,-export-dynamic';;
|
|
esac
|
|
+ case $host in
|
|
+ *-*-mingw*)
|
|
+ # for https://bugs.python.org/issue40458 on MINGW
|
|
+ LINKFORSHARED="-Wl,--stack,4194304";;
|
|
+ esac
|
|
fi
|
|
AC_MSG_RESULT([$LINKFORSHARED])
|
|
|