From 66af0f440b7c203b3e3bc9b2e7fdee9f81e6ae77 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 13 Jan 2014 20:54:47 +0200 Subject: [PATCH] Fix MinGW compilation errors in gdbserver/. gdb/gdbserver/Makefile.in (INCLUDE_CFLAGS): Remove trailing slash from "-I$(srcdir)/../". Fixes MinGW compilation errors with old GCC versions. --- gdb/gdbserver/ChangeLog | 6 ++++++ gdb/gdbserver/Makefile.in | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index adba6f6c73d..9ad71ba315c 100644 --- a/gdb/gdbserver/ChangeLog +++ b/gdb/gdbserver/ChangeLog @@ -1,3 +1,9 @@ +2014-01-13 Eli Zaretskii + + * Makefile.in (INCLUDE_CFLAGS): Remove trailing slash from + "-I$(srcdir)/../". Fixes MinGW compilation errors with old GCC + versions. + 2014-01-08 Pedro Alves * server.c (handle_status): Don't discard previous queued stop diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in index b58184d4089..e72ee6bca96 100644 --- a/gdb/gdbserver/Makefile.in +++ b/gdb/gdbserver/Makefile.in @@ -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 -- 2.30.2