aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2019-01-22 00:26:45 -0700
committerTom Tromey <tom@tromey.com>2019-01-25 15:28:17 -0700
commita0707f3c36cab402cd4c3235bedd2b5f7b4c6aed (patch)
tree504e54c61556d9c6b6e5903831de2a2bd3ccc1ac /gdb/Makefile.in
parent0747795c085d3b2a35da6bb474f32c58ce1b70c8 (diff)
downloadgdb-a0707f3c36cab402cd4c3235bedd2b5f7b4c6aed.zip
gdb-a0707f3c36cab402cd4c3235bedd2b5f7b4c6aed.tar.gz
gdb-a0707f3c36cab402cd4c3235bedd2b5f7b4c6aed.tar.bz2
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.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 215ef79..72ca855 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -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.