backport: re PR bootstrap/52947 (bootstrap fails due to wrong include search path composition)

Backport from mainline.
        PR bootstrap/52947
        * config/i386/mingw32.h (NATIVE_SYSTEM_HEADER_DIR): Define it always
        as "/mingw/include".

From-SVN: r189339
This commit is contained in:
Kai Tietz 2012-07-06 20:56:09 +02:00 committed by Kai Tietz
parent 141f7d3f5a
commit 16b1765e55
2 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2012-07-06 Kai Tietz <ktietz@redhat.com>
Backport from mainline.
PR bootstrap/52947
* config/i386/mingw32.h (NATIVE_SYSTEM_HEADER_DIR): Define it always
as "/mingw/include".
2012-07-06 Nick Clifton <nickc@redhat.com>
* config/mn10300/mn10300.c (mn10300_encode_section_info): Call

View File

@ -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. */