diff options
author | mdejong <mdejong> | 2001-06-22 08:48:01 (GMT) |
---|---|---|
committer | mdejong <mdejong> | 2001-06-22 08:48:01 (GMT) |
commit | deb831a64d0d9879e5864783eb98e054cb1dad10 (patch) | |
tree | 2f4391b2f5499a5a642bef306713679b388d9ad7 | |
parent | 298f69f947759d7c1fabe350452fcf9303c89376 (diff) | |
download | tcl-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.
-rw-r--r-- | ChangeLog | 8 | ||||
-rwxr-xr-x | win/configure | 4 | ||||
-rw-r--r-- | win/tcl.m4 | 4 |
3 files changed, 12 insertions, 4 deletions
@@ -1,3 +1,11 @@ +2001-06-22 Mo DeJong <mdejong@redhat.com> + + * 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. + 2001-06-18 Donal K. Fellows <fellowsd@cs.man.ac.uk> * tests/unixInit.test (unixInit-1.2,unixInit-2.8): Added test for diff --git a/win/configure b/win/configure index c8af0cc..1a62d06 100755 --- a/win/configure +++ b/win/configure @@ -1220,8 +1220,8 @@ echo "configure:1193: checking whether $ld_prog supports -shared option" >&5 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 \$@" @@ -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 \[$]@" |