From d44f78af03d55fe2295253718b4981a051fa72b0 Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Fri, 6 Jul 2012 20:54:20 +0200 Subject: re PR bootstrap/52947 (bootstrap fails due to wrong include search path composition) PR bootstrap/52947 * config/i386/mingw32.h (NATIVE_SYSTEM_HEADER_DIR): Define it always as "/mingw/include". From-SVN: r189338 --- gcc/ChangeLog | 6 ++++++ gcc/config/i386/mingw32.h | 5 +++++ 2 files changed, 11 insertions(+) (limited to 'gcc') diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9ccc668..eefae9a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2012-07-06 Kai Tietz + + PR bootstrap/52947 + * config/i386/mingw32.h (NATIVE_SYSTEM_HEADER_DIR): Define it always + as "/mingw/include". + 2012-07-06 Alexandre Oliva PR debug/53820 diff --git a/gcc/config/i386/mingw32.h b/gcc/config/i386/mingw32.h index 4fdef26..0e3751f 100644 --- a/gcc/config/i386/mingw32.h +++ b/gcc/config/i386/mingw32.h @@ -150,6 +150,11 @@ along with GCC; see the file COPYING3. If not see #define STANDARD_STARTFILE_PREFIX_2 "" #endif +/* For native mingw-version we need to take care that NATIVE_SYSTEM_HEADER_DIR + macro contains POSIX-style path. See bug 52947. */ +#undef NATIVE_SYSTEM_HEADER_DIR +#define NATIVE_SYSTEM_HEADER_DIR "/mingw/include" + /* Output STRING, a string representing a filename, to FILE. We canonicalize it to be in Unix format (backslashes are replaced forward slashes. */ -- cgit v1.1