summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-06 18:54:20 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2012-07-06 18:54:20 +0000
commit03870e3148f98b1becc399627b88b611ea41846e (patch)
tree38c8e2e19b5b42d35b2f2eed6c27d7aa69cef802
parentca5518fc78feb98269f7089a2053f2c53e20da5a (diff)
downloadgcc-03870e3148f98b1becc399627b88b611ea41846e.tar.gz
PR bootstrap/52947
* config/i386/mingw32.h (NATIVE_SYSTEM_HEADER_DIR): Define it always as "/mingw/include". git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189338 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/i386/mingw32.h5
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9ccc668db32..eefae9a935e 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 4fdef2664bd..0e3751f4e19 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. */