2005-03-23 Martin Hunt <hunt@redhat.com>

* configure.ac: Remove -fwritable-strings from CFLAGS.
        * configure: Regenerate.
This commit is contained in:
Martin Hunt
2005-03-23 19:17:42 +00:00
parent 4f02944618
commit b3041f52a5
3 changed files with 5 additions and 18 deletions

9
gdb/configure vendored
View File

@@ -21059,15 +21059,6 @@ fi
fi
ENABLE_CFLAGS="${ENABLE_CFLAGS} \$(SUBDIR_GDBTK_CFLAGS)"
# Tcl/Tk 8.1 require -fwritable strings. I don't
# know whether 8.2 will or not, but I bet it will.
# I don't have to worry about 7.x since we don't support it.
GDBTK_CFLAGS=""
if test "$GCC" = "yes"; then
if test "$TCL_VERSION" != "8.0" ; then
GDBTK_CFLAGS="-fwritable-strings"
fi
fi
# Include some libraries that Tcl and Tk want.
TCL_LIBS='$(LIBGUI) $(ITCL) $(ITK) $(TK) $(TCL) $(X11_LDFLAGS) $(X11_LIBS)'