Fix MinGW compilation errors in gdbserver/.
authorEli Zaretskii <eliz@gnu.org>
Mon, 13 Jan 2014 18:54:47 +0000 (20:54 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 13 Jan 2014 18:54:47 +0000 (20:54 +0200)
gdb/gdbserver/Makefile.in (INCLUDE_CFLAGS): Remove trailing slash from
"-I$(srcdir)/../".  Fixes MinGW compilation errors with old GCC versions.

gdb/gdbserver/ChangeLog
gdb/gdbserver/Makefile.in

index adba6f6c73dadffa091f859be9ca337052fc93e1..9ad71ba315c8c22cd7cdbdea70a2c3a1c22b958c 100644 (file)
@@ -1,3 +1,9 @@
+2014-01-13  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (INCLUDE_CFLAGS): Remove trailing slash from
+       "-I$(srcdir)/../".  Fixes MinGW compilation errors with old GCC
+       versions.
+
 2014-01-08  Pedro Alves  <palves@redhat.com>
 
        * server.c (handle_status): Don't discard previous queued stop
index b58184d40895e8be5799e297665b1ae79059f9a0..e72ee6bca963fc91eb2c137a6cb3e9a240d11b83 100644 (file)
@@ -106,7 +106,7 @@ GNULIB_H = $(GNULIB_BUILDDIR)/import/string.h @GNULIB_STDINT_H@
 # e.g.: "target/wait.h".
 #
 INCLUDE_CFLAGS = -I. -I${srcdir} -I$(srcdir)/../common \
-       -I$(srcdir)/../regformats -I$(srcdir)/../ -I$(INCLUDE_DIR) \
+       -I$(srcdir)/../regformats -I$(srcdir)/.. -I$(INCLUDE_DIR) \
        $(INCGNU)
 
 # M{H,T}_CFLAGS, if defined, has host- and target-dependent CFLAGS