]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR bootstrap/52947 (bootstrap fails due to wrong include search path composition)
authorKai Tietz <ktietz@redhat.com>
Fri, 6 Jul 2012 18:54:20 +0000 (20:54 +0200)
committerKai Tietz <ktietz@gcc.gnu.org>
Fri, 6 Jul 2012 18:54:20 +0000 (20:54 +0200)
        PR bootstrap/52947
        * config/i386/mingw32.h (NATIVE_SYSTEM_HEADER_DIR): Define it always
        as "/mingw/include".

From-SVN: r189338

gcc/ChangeLog
gcc/config/i386/mingw32.h

index 9ccc668db32a54fc52c3b3e5235e4735d7ab656b..eefae9a935edec07df8ab827b59817b414ac6297 100644 (file)
@@ -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
index 4fdef2664bd92d9daa0ba14183413698435aa6c1..0e3751f4e19e7f056e2f65b408e2019f3ff8de01 100644 (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.  */