From: Eli Zaretskii Date: Mon, 13 Jan 2014 18:54:47 +0000 (+0200) Subject: Fix MinGW compilation errors in gdbserver/. X-Git-Tag: gdb-7.8-release~1638 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=66af0f440b7c203b3e3bc9b2e7fdee9f81e6ae77;p=external%2Fbinutils.git 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. --- diff --git a/gdb/gdbserver/ChangeLog b/gdb/gdbserver/ChangeLog index adba6f6..9ad71ba 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 b58184d..e72ee6b 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