summaryrefslogtreecommitdiff
path: root/binary/mingw-w64/patches/gcc-4.7-20130209-cross.patch
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-02-11 16:20:56 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-02-11 16:23:49 +0200
commit6fe7fc56873b27deef74bc9dc36adf86af4fd79b (patch)
treeab6794c3f6ac2202ebf9f5e2f24cd4f0886fc68e /binary/mingw-w64/patches/gcc-4.7-20130209-cross.patch
parentbe44ee078fa5d5470dddd097db0d97fadfc754ff (diff)
Update MinGW64 binary build (MinGW 3.3 runtime)
Using GCC 4.9.3, multi-arch/multi-lib build (you don't want to try this at home).
Diffstat (limited to 'binary/mingw-w64/patches/gcc-4.7-20130209-cross.patch')
-rw-r--r--binary/mingw-w64/patches/gcc-4.7-20130209-cross.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/binary/mingw-w64/patches/gcc-4.7-20130209-cross.patch b/binary/mingw-w64/patches/gcc-4.7-20130209-cross.patch
new file mode 100644
index 0000000..ab207cc
--- /dev/null
+++ b/binary/mingw-w64/patches/gcc-4.7-20130209-cross.patch
@@ -0,0 +1,25 @@
+diff -ru gcc-4.7-20130209/gcc/config/i386/mingw32.h gcc-cross/gcc/config/i386/mingw32.h
+--- gcc-4.7-20130209/gcc/config/i386/mingw32.h 2012-08-06 16:34:27.000000000 +0200
++++ gcc-cross/gcc/config/i386/mingw32.h 2013-05-27 15:41:55.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 gcc-4.7-20130209/gcc/config.gcc gcc-cross/gcc/config.gcc
+--- gcc-4.7-20130209/gcc/config.gcc 2013-01-14 18:32:37.000000000 +0200
++++ gcc-cross/gcc/config.gcc 2013-05-27 15:42:06.000000000 +0200
+@@ -1485,7 +1485,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
+