summaryrefslogtreecommitdiff
path: root/binary/mingw/gcc-4.7.2-mingw.patch
blob: 757a51ba2f61e8028bcf5c08319a66334b02fdcf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -ru -bB gcc-4.7.2/gcc/config/i386/mingw32.h gcc/gcc/config/i386/mingw32.h
--- gcc-4.7.2/gcc/config/i386/mingw32.h	2012-08-06 16:34:27.000000000 +0200
+++ gcc/gcc/config/i386/mingw32.h	2013-02-09 18:52:51.000000000 +0200
@@ -153,7 +153,7 @@
 /* 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"
+#define NATIVE_SYSTEM_HEADER_DIR "/include"
 
 /* Output STRING, a string representing a filename, to FILE.
    We canonicalize it to be in Unix format (backslashes are replaced
diff -ru -bB gcc-4.7.2/gcc/config.gcc gcc/gcc/config.gcc
--- gcc-4.7.2/gcc/config.gcc	2012-09-12 11:03:54.000000000 +0200
+++ gcc/gcc/config.gcc	2013-02-09 18:59:10.000000000 +0200
@@ -1477,7 +1477,7 @@
 			tmake_file="${tmake_file} i386/t-mingw-w32"
 			;;
 	esac
-        native_system_header_dir=/mingw/include
+        native_system_header_dir=/include
 	target_gtfiles="\$(srcdir)/config/i386/winnt.c"
 	extra_options="${extra_options} i386/cygming.opt i386/mingw.opt"
 	case ${target} in