diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-09-23 20:04:54 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2013-09-23 20:04:54 (GMT) |
commit | a1fe1358f39444a164b69b73de03ab4e4d27061d (patch) | |
tree | 0153ed9c6f3bf2e585c323ed5eb0a170ff783d25 /win/tcl.m4 | |
parent | 7b975975f240bc53d2362aca139f012a232f7e8f (diff) | |
parent | 1d119413f611a492dd5c4cf31fd9b576fa0468c7 (diff) | |
download | tcl-a1fe1358f39444a164b69b73de03ab4e4d27061d.zip tcl-a1fe1358f39444a164b69b73de03ab4e4d27061d.tar.gz tcl-a1fe1358f39444a164b69b73de03ab4e4d27061d.tar.bz2 |
merge trunk
Diffstat (limited to 'win/tcl.m4')
-rw-r--r-- | win/tcl.m4 | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -633,6 +633,8 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ # set various compiler flags depending on whether we are using gcc or cl if test "${GCC}" = "yes" ; then + extra_cflags="-pipe" + extra_ldflags="-pipe" AC_CACHE_CHECK(for mingw32 version of gcc, ac_cv_win32, AC_TRY_COMPILE([ @@ -663,6 +665,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ extra_ldflags="$extra_ldflags -municode" else extra_cflags="$extra_cflags -DTCL_BROKEN_MAINARGS" + extra_ldflags="$extra_ldflags -static-libgcc" fi fi @@ -684,9 +687,6 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [ MAKE_EXE="\${CC} -o \[$]@" LIBPREFIX="lib" - extra_cflags="$extra_cflags -pipe" - extra_ldflags="$extra_ldflags -pipe" - if test "${SHARED_BUILD}" = "0" ; then # static AC_MSG_RESULT([using static flags]) |