mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-25 11:04:18 +08:00
* Makefile.in (GDB_WARN_CFLAGS_NO_DEFS, ADA_EXP_C): New macros.
(ada-exp.o): New target.
This commit is contained in:
parent
868d184013
commit
94e36acc3c
@ -1,3 +1,8 @@
|
||||
2013-07-10 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* Makefile.in (GDB_WARN_CFLAGS_NO_DEFS, ADA_EXP_C): New macros.
|
||||
(ada-exp.o): New target.
|
||||
|
||||
2013-07-10 Sergio Durigan Junior <sergiodj@redhat.com>
|
||||
|
||||
* mt-tdep.c (mt_registers_info): Call
|
||||
|
@ -165,6 +165,8 @@ 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"`
|
||||
|
||||
RDYNAMIC = @RDYNAMIC@
|
||||
|
||||
@ -1581,6 +1583,17 @@ printcmd.o: $(srcdir)/printcmd.c
|
||||
$(COMPILE.post) $(srcdir)/printcmd.c
|
||||
$(POSTCOMPILE)
|
||||
|
||||
# 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`
|
||||
|
||||
# Some versions of flex give output that triggers
|
||||
# -Wold-style-definition.
|
||||
ada-exp.o: ada-exp.c
|
||||
$(COMPILE.pre) $(INTERNAL_CFLAGS) $(GDB_WARN_CFLAGS_NO_DEFS) \
|
||||
$(COMPILE.post) $(ADA_EXP_C)
|
||||
$(POSTCOMPILE)
|
||||
|
||||
# Message files. Based on code in gcc/Makefile.in.
|
||||
|
||||
# Rules for generating translated message descriptions. Disabled by
|
||||
|
Loading…
Reference in New Issue
Block a user