From 672e584d1564e03d6e373dee3c158a73e3679f2a Mon Sep 17 00:00:00 2001 From: nijtmans Date: Sat, 13 Feb 2010 13:31:19 +0000 Subject: use -pipe for gcc on win32 (mingw/cygwin) --- ChangeLog | 5 +++++ win/configure | 12 ++---------- win/tcl.m4 | 12 ++---------- 3 files changed, 9 insertions(+), 20 deletions(-) diff --git a/ChangeLog b/ChangeLog index a0e4f09..6a28ab3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-02-12 Jan Nijtmans + + * win/tcl.m4 use -pipe for gcc on win32 + * win/configure (mingw/cygwin) (regenerated) + 2010-02-11 Mo DeJong * tests/list.test: Add tests for explicit \0 in diff --git a/win/configure b/win/configure index 12fadb8..11807a1 100755 --- a/win/configure +++ b/win/configure @@ -3920,13 +3920,8 @@ echo "$as_me: WARNING: 64bit mode not supported with GCC on Windows" >&2;} MAKE_EXE="\${CC} -o \$@" LIBPREFIX="lib" - #if test "$ac_cv_cygwin" = "yes"; then - # extra_cflags="-mno-cygwin" - # extra_ldflags="-mno-cygwin" - #else - # extra_cflags="" - # extra_ldflags="" - #fi + extra_cflags="-pipe" + extra_ldflags="-pipe" if test "$ac_cv_cygwin" = "yes"; then touch ac$$.c @@ -3941,9 +3936,6 @@ echo "$as_me: WARNING: 64bit mode not supported with GCC on Windows" >&2;} esac fi rm -f ac$$.o ac$$.c - else - extra_cflags='' - extra_ldflags='' fi if test "${SHARED_BUILD}" = "0" ; then diff --git a/win/tcl.m4 b/win/tcl.m4 index 39e4fe1..bdcced8 100644 --- a/win/tcl.m4 +++ b/win/tcl.m4 @@ -477,13 +477,8 @@ file for information about building with Mingw.]) MAKE_EXE="\${CC} -o \[$]@" LIBPREFIX="lib" - #if test "$ac_cv_cygwin" = "yes"; then - # extra_cflags="-mno-cygwin" - # extra_ldflags="-mno-cygwin" - #else - # extra_cflags="" - # extra_ldflags="" - #fi + extra_cflags="-pipe" + extra_ldflags="-pipe" if test "$ac_cv_cygwin" = "yes"; then touch ac$$.c @@ -498,9 +493,6 @@ file for information about building with Mingw.]) esac fi rm -f ac$$.o ac$$.c - else - extra_cflags='' - extra_ldflags='' fi if test "${SHARED_BUILD}" = "0" ; then -- cgit v0.12