diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2013-09-26 16:32:21 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2013-09-26 16:32:21 (GMT) |
commit | f3dba34e63b00a626aec3bf07853fec8ce0bfeb7 (patch) | |
tree | 00a289e9d95d3bc7852194ae11167c5bc96f414a /win/configure | |
parent | 36a7db47de88bf75ad1d24402dfed11433f9bb76 (diff) | |
parent | 09a4760ba322c1d8425f71dce3dd21e99b82a192 (diff) | |
download | tcl-f3dba34e63b00a626aec3bf07853fec8ce0bfeb7.zip tcl-f3dba34e63b00a626aec3bf07853fec8ce0bfeb7.tar.gz tcl-f3dba34e63b00a626aec3bf07853fec8ce0bfeb7.tar.bz2 |
merge trunk
Diffstat (limited to 'win/configure')
-rwxr-xr-x | win/configure | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win/configure b/win/configure index e7c1329..be9c98a 100755 --- a/win/configure +++ b/win/configure @@ -3449,6 +3449,8 @@ echo "${ECHO_T}yes" >&6 # set various compiler flags depending on whether we are using gcc or cl if test "${GCC}" = "yes" ; then + extra_cflags="-pipe" + extra_ldflags="-pipe" echo "$as_me:$LINENO: checking for mingw32 version of gcc" >&5 echo $ECHO_N "checking for mingw32 version of gcc... $ECHO_C" >&6 if test "${ac_cv_win32+set}" = set; then @@ -3577,6 +3579,7 @@ echo "${ECHO_T}$ac_cv_municode" >&6 extra_ldflags="$extra_ldflags -municode" else extra_cflags="$extra_cflags -DTCL_BROKEN_MAINARGS" + extra_ldflags="$extra_ldflags -static-libgcc" fi fi @@ -3599,9 +3602,6 @@ echo $ECHO_N "checking compiler flags... $ECHO_C" >&6 MAKE_EXE="\${CC} -o \$@" LIBPREFIX="lib" - extra_cflags="$extra_cflags -pipe" - extra_ldflags="$extra_ldflags -pipe" - if test "${SHARED_BUILD}" = "0" ; then # static echo "$as_me:$LINENO: result: using static flags" >&5 |