diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-11 07:49:46 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2013-02-11 07:49:46 +0200 |
commit | 0b23a3f3b097d89be0a0221e32dd3a970c188df3 (patch) | |
tree | e519ba4efa960bbe5aa72b4a1cc77a5f0939dd01 /binary/mingw/gcc-4.7.2-mingw-cross.patch | |
parent | c1cdd361cd15b1cb7167ae8aa333b80bb67f6536 (diff) |
MinGW build update for GCC 4.7.2
Diffstat (limited to 'binary/mingw/gcc-4.7.2-mingw-cross.patch')
-rw-r--r-- | binary/mingw/gcc-4.7.2-mingw-cross.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/binary/mingw/gcc-4.7.2-mingw-cross.patch b/binary/mingw/gcc-4.7.2-mingw-cross.patch new file mode 100644 index 0000000..ddfc8a3 --- /dev/null +++ b/binary/mingw/gcc-4.7.2-mingw-cross.patch @@ -0,0 +1,24 @@ +diff -ru -bB gcc-4.7.2/gcc/config/i386/mingw32.h gcc-cross/gcc/config/i386/mingw32.h +--- gcc-4.7.2/gcc/config/i386/mingw32.h 2012-08-06 16:34:27.000000000 +0200 ++++ gcc-cross/gcc/config/i386/mingw32.h 2013-02-10 06:30:59.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-cross/gcc/config.gcc +--- gcc-4.7.2/gcc/config.gcc 2012-09-12 11:03:54.000000000 +0200 ++++ gcc-cross/gcc/config.gcc 2013-02-10 06:31:22.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 |