[gdbsupport] Use INCGNU order in AM_CPPFLAGS
INCGNU from Makefile.gnulib.inc.in uses the gnulib include files from the
gnulib sources and the gnulib build in this order:
...
INCGNU = -I$(srcdir)/$(GNULIB_PARENT_DIR)/gnulib/import \
-I$(GNULIB_PARENT_DIR)/gnulib/import
...
Gdb and gdbserver use INCGNU, but gdbsupport doesn't:
...
AM_CPPFLAGS = \
...
-I../gnulib/import \
-I$(srcdir)/../gnulib/import \
...
...
and uses the opposite order.
This shouldn't matter, but for consistency, use the same order.
Approved-By: Tom Tromey <tom@tromey.com>
Reviewed-by: Thiago Jung Bauermann <thiago.bauermann@linaro.org>
diff --git a/gdbsupport/Makefile.am b/gdbsupport/Makefile.am
index 4a3d94c..01a623b 100644
--- a/gdbsupport/Makefile.am
+++ b/gdbsupport/Makefile.am
@@ -28,8 +28,8 @@
AM_CPPFLAGS = \
-I$(srcdir)/../include \
-I$(srcdir)/../gdb \
- -I../gnulib/import \
-I$(srcdir)/../gnulib/import \
+ -I../gnulib/import \
-I.. \
-I$(srcdir)/.. \
$(INCINTL) \
diff --git a/gdbsupport/Makefile.in b/gdbsupport/Makefile.in
index 2da8adc..c3be066 100644
--- a/gdbsupport/Makefile.in
+++ b/gdbsupport/Makefile.in
@@ -396,8 +396,8 @@
AM_CPPFLAGS = \
-I$(srcdir)/../include \
-I$(srcdir)/../gdb \
- -I../gnulib/import \
-I$(srcdir)/../gnulib/import \
+ -I../gnulib/import \
-I.. \
-I$(srcdir)/.. \
$(INCINTL) \