blob: 1640ab16e8e3a6545b3ae1380cba5a0e9e5f55b0 [file] [log] [blame] [edit]
diff -Naur tk8.6.5-orig/win/tcl.m4 tk8.6.5/win/tcl.m4
--- tk8.6.5-orig/win/tcl.m4 2016-03-03 09:21:52.442037200 +0300
+++ tk8.6.5/win/tcl.m4 2016-03-03 09:21:54.114037200 +0300
@@ -635,7 +635,6 @@
if test "${GCC}" = "yes" ; then
extra_cflags="-pipe"
- extra_ldflags="-pipe -static-libgcc"
AC_CACHE_CHECK(for mingw32 version of gcc,
ac_cv_win32,
AC_TRY_COMPILE([
@@ -691,6 +690,7 @@
if test "${SHARED_BUILD}" = "0" ; then
# static
AC_MSG_RESULT([using static flags])
+ extra_ldflags="-pipe -static-libgcc"
runtime=
LIBRARIES="\${STATIC_LIBRARIES}"
EXESUFFIX="s\${DBGX}.exe"