| From 55058413c83f650adfcd3d92a0005fae46f51505 Mon Sep 17 00:00:00 2001 |
| From: Orgad Shaneh <orgads@gmail.com> |
| Date: Tue, 7 Mar 2017 19:13:41 +0200 |
| Subject: [PATCH] configure: Disable static linking with standard libs |
| |
| Linking statically causes spurious crashes on exception handling |
| with mingw32. |
| --- |
| configure | 4 ++-- |
| 1 file changed, 2 insertions(+), 2 deletions(-) |
| |
| diff --git a/configure b/configure |
| index 276f33fee3..e5e83482c3 100755 |
| --- a/configure |
| +++ b/configure |
| @@ -5878,7 +5878,7 @@ else |
| # trust that they are doing what they want. |
| if test "$with_static_standard_libraries" = yes -a "$stage1_libs" = "" \ |
| -a "$have_static_libs" = yes; then |
| - stage1_ldflags="-static-libstdc++ -static-libgcc" |
| + stage1_ldflags="" |
| fi |
| fi |
| |
| @@ -5914,7 +5914,7 @@ else |
| # statically. But if the user explicitly specified the libraries to |
| # use, trust that they are doing what they want. |
| if test "$poststage1_libs" = ""; then |
| - poststage1_ldflags="-static-libstdc++ -static-libgcc" |
| + poststage1_ldflags="" |
| fi |
| fi |
| |
| -- |
| 2.25.0.windows.1 |
| |