summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-13 13:31:19 (GMT)
committernijtmans <nijtmans>2010-02-13 13:31:19 (GMT)
commit672e584d1564e03d6e373dee3c158a73e3679f2a (patch)
treea05be8c7b8e966cb50659f1e16135a85e3415306 /win/tcl.m4
parentbbe0b1645349bb22662c4a8858a4fce1e5e07132 (diff)
downloadtcl-672e584d1564e03d6e373dee3c158a73e3679f2a.zip
tcl-672e584d1564e03d6e373dee3c158a73e3679f2a.tar.gz
tcl-672e584d1564e03d6e373dee3c158a73e3679f2a.tar.bz2
use -pipe for gcc on win32 (mingw/cygwin)
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m412
1 files changed, 2 insertions, 10 deletions
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