summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-02-13 13:47:49 (GMT)
committernijtmans <nijtmans>2010-02-13 13:47:49 (GMT)
commit759424b1be09259bf20d269efd93af21c5150a01 (patch)
treed5a35b36ffd02f3cb0421a640eda7ee6ee229478 /win
parent454e04bbf4e61fb4a363ffcfedb08e941a17952f (diff)
downloadtk-759424b1be09259bf20d269efd93af21c5150a01.zip
tk-759424b1be09259bf20d269efd93af21c5150a01.tar.gz
tk-759424b1be09259bf20d269efd93af21c5150a01.tar.bz2
use -pipe for gcc on win32 (mingw/cygwin)
make sure that TkpCmapStressed is exported clean up unused Tk_CreatePhotoOption Make more internal arrays "const"
Diffstat (limited to 'win')
-rwxr-xr-xwin/configure12
-rw-r--r--win/tcl.m412
2 files changed, 4 insertions, 20 deletions
diff --git a/win/configure b/win/configure
index 3174022..ed417a5 100755
--- a/win/configure
+++ b/win/configure
@@ -3299,13 +3299,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
@@ -3320,9 +3315,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