diff options
author | Tom Tromey <tom@tromey.com> | 2018-09-01 10:23:48 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-09-04 10:45:54 -0600 |
commit | 3322c5d9a102f9af099bd87cc65a1e2a70f91c78 (patch) | |
tree | 8c6c1beb89fd8db93d10dea091ab102c2734d43e | |
parent | ba2bf2aaba97866f4c9c67239666916caa7bb150 (diff) | |
download | gdb-3322c5d9a102f9af099bd87cc65a1e2a70f91c78.zip gdb-3322c5d9a102f9af099bd87cc65a1e2a70f91c78.tar.gz gdb-3322c5d9a102f9af099bd87cc65a1e2a70f91c78.tar.bz2 |
Remove unneeded explicit .o targets
Makefile.in had special cases to compile printcmd.o and target-float.o
with a different set of warnings. However, this is no longer
required, so this patch removes those rules.
gdb/ChangeLog
2018-09-04 Tom Tromey <tom@tromey.com>
* Makefile.in (printcmd.o, target-float.o): Remove.
(GDB_WARN_CFLAGS_NO_FORMAT): Remove.
-rw-r--r-- | gdb/ChangeLog | 5 | ||||
-rw-r--r-- | gdb/Makefile.in | 16 |
2 files changed, 5 insertions, 16 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index e126f80..5aafde6 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,10 @@ 2018-09-04 Tom Tromey <tom@tromey.com> + * Makefile.in (printcmd.o, target-float.o): Remove. + (GDB_WARN_CFLAGS_NO_FORMAT): Remove. + +2018-09-04 Tom Tromey <tom@tromey.com> + * gnulib/Makefile.in: Remove obsolete comment. * Makefile.in: Remove obsolete comment. diff --git a/gdb/Makefile.in b/gdb/Makefile.in index e75ef66..16aac9d 100644 --- a/gdb/Makefile.in +++ b/gdb/Makefile.in @@ -199,8 +199,6 @@ WERROR_CFLAGS = @WERROR_CFLAGS@ GDB_WARN_CFLAGS = $(WARN_CFLAGS) GDB_WERROR_CFLAGS = $(WERROR_CFLAGS) -GDB_WARN_CFLAGS_NO_FORMAT = `echo " $(GDB_WARN_CFLAGS) " \ - | sed "s/ -Wformat-nonliteral / -Wno-format-nonliteral /g"` GDB_WARN_CFLAGS_NO_DEFS = `echo " $(GDB_WARN_CFLAGS) " \ | sed "s/ -Wold-style-definition / -Wno-old-style-definition /g"` @@ -2383,20 +2381,6 @@ ALLDEPFILES = \ # Some files need explicit build rules (due to -Werror problems) or due # to sub-directory fun 'n' games. -# Do not try to build "printcmd.c" with -Wformat-nonliteral. It manually -# checks format strings. -printcmd.o: $(srcdir)/printcmd.c - $(ECHO_CXX) $(COMPILE.pre) $(INTERNAL_CFLAGS) \ - $(GDB_WARN_CFLAGS_NO_FORMAT) $(COMPILE.post) \ - $(srcdir)/printcmd.c - $(POSTCOMPILE) - -# Same for "target-float.c". -target-float.o: $(srcdir)/target-float.c - $(ECHO_CXX) $(COMPILE.pre) $(INTERNAL_CFLAGS) \ - $(GDB_WARN_CFLAGS_NO_FORMAT) $(COMPILE.post) \ - $(srcdir)/target-float.c - # ada-exp.c can appear in srcdir, for releases; or in ., for # development builds. ADA_EXP_C = `if test -f ada-exp.c; then echo ada-exp.c; else echo $(srcdir)/ada-exp.c; fi` |