diff options
author | Kai Tietz <ktietz@redhat.com> | 2012-07-06 20:54:20 +0200 |
---|---|---|
committer | Kai Tietz <ktietz@gcc.gnu.org> | 2012-07-06 20:54:20 +0200 |
commit | d44f78af03d55fe2295253718b4981a051fa72b0 (patch) | |
tree | 38c8e2e19b5b42d35b2f2eed6c27d7aa69cef802 | |
parent | 3b5cd6f2bf2ba047bfe00a658478c5e03037cd8f (diff) | |
download | gcc-d44f78af03d55fe2295253718b4981a051fa72b0.zip gcc-d44f78af03d55fe2295253718b4981a051fa72b0.tar.gz gcc-d44f78af03d55fe2295253718b4981a051fa72b0.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/i386/mingw32.h | 5 |
2 files changed, 11 insertions, 0 deletions
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 <ktietz@redhat.com> + + PR bootstrap/52947 + * config/i386/mingw32.h (NATIVE_SYSTEM_HEADER_DIR): Define it always + as "/mingw/include". + 2012-07-06 Alexandre Oliva <aoliva@redhat.com> 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. */ |