summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authormdejong <mdejong>2001-06-22 08:48:01 (GMT)
committermdejong <mdejong>2001-06-22 08:48:01 (GMT)
commitdeb831a64d0d9879e5864783eb98e054cb1dad10 (patch)
tree2f4391b2f5499a5a642bef306713679b388d9ad7 /win/tcl.m4
parent298f69f947759d7c1fabe350452fcf9303c89376 (diff)
downloadtcl-deb831a64d0d9879e5864783eb98e054cb1dad10.zip
tcl-deb831a64d0d9879e5864783eb98e054cb1dad10.tar.gz
tcl-deb831a64d0d9879e5864783eb98e054cb1dad10.tar.bz2
* win/configure:
* win/tcl.m4 (SC_CONFIG_CFLAGS): Don't set LDFLAGS_DEBUG to -g or LDFLAGS_OPTIMIZE to -O when compiling with gcc. These flags are not needed and can cause problems with the Cygwin version of ld.
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index cc719dd..ba58cad 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -428,8 +428,8 @@ AC_DEFUN(SC_CONFIG_CFLAGS, [
CFLAGS_DEBUG=-g
CFLAGS_OPTIMIZE=-O
CFLAGS_WARNING="-Wall -Wconversion"
- LDFLAGS_DEBUG=-g
- LDFLAGS_OPTIMIZE=-O
+ LDFLAGS_DEBUG=
+ LDFLAGS_OPTIMIZE=
# Specify the CC output file names based on the target name
CC_OBJNAME="-o \[$]@"