mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 14:39:09 +08:00
Don't use -I for common subdirectory
This changes the Makefiles to remove the -I for the common/ subdirectory. This will enforce the rule that includes must use the 'common/filename.h' form. gdb/ChangeLog 2019-01-25 Tom Tromey <tom@tromey.com> * Makefile.in (GDB_CFLAGS): Don't add -I for common. gdb/gdbserver/ChangeLog 2019-01-25 Tom Tromey <tom@tromey.com> * Makefile.in (INCLUDE_CFLAGS): Don't add -I for common.
This commit is contained in:
@ -1,3 +1,7 @@
|
||||
2019-01-25 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* Makefile.in (GDB_CFLAGS): Don't add -I for common.
|
||||
|
||||
2019-01-25 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* xtensa-linux-nat.c: Fix common/ includes.
|
||||
|
@ -543,7 +543,7 @@ CONFIG_DEP_SUBDIR = $(addsuffix /$(DEPDIR),$(CONFIG_SRC_SUBDIR))
|
||||
# your system doesn't have fcntl.h in /usr/include (which is where it
|
||||
# should be according to Posix).
|
||||
DEFS = @DEFS@
|
||||
GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/common -I$(srcdir)/config \
|
||||
GDB_CFLAGS = -I. -I$(srcdir) -I$(srcdir)/config \
|
||||
-DLOCALEDIR="\"$(localedir)\"" $(DEFS)
|
||||
|
||||
# MH_CFLAGS, if defined, has host-dependent CFLAGS from the config directory.
|
||||
|
@ -1,3 +1,7 @@
|
||||
2019-01-25 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* Makefile.in (INCLUDE_CFLAGS): Don't add -I for common.
|
||||
|
||||
2019-01-25 Tom Tromey <tom@tromey.com>
|
||||
|
||||
* win32-low.c: Fix common/ includes.
|
||||
|
@ -118,7 +118,7 @@ GNULIB_H = $(GNULIB_BUILDDIR)/import/string.h @GNULIB_STDINT_H@
|
||||
# in those directories should be included with the subdirectory.
|
||||
# e.g.: "target/wait.h".
|
||||
#
|
||||
INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \
|
||||
INCLUDE_CFLAGS = -I. -I${srcdir} \
|
||||
-I$(srcdir)/../regformats -I$(srcdir)/.. -I$(INCLUDE_DIR) \
|
||||
$(INCGNU)
|
||||
|
||||
|
Reference in New Issue
Block a user