diff options
author | Tom Tromey <tom@tromey.com> | 2019-01-22 00:26:45 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2019-01-25 15:28:17 -0700 |
commit | a0707f3c36cab402cd4c3235bedd2b5f7b4c6aed (patch) | |
tree | 504e54c61556d9c6b6e5903831de2a2bd3ccc1ac /gdb/gdbserver/Makefile.in | |
parent | 0747795c085d3b2a35da6bb474f32c58ce1b70c8 (diff) | |
download | gdb-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/gdbserver/Makefile.in')
-rw-r--r-- | gdb/gdbserver/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index 4ae1369..8cffe3dd 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -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) |