From 6fe7fc56873b27deef74bc9dc36adf86af4fd79b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 11 Feb 2015 16:20:56 +0200 Subject: 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). --- .../mingw-w64/patches/gcc-4.9-20150204-cross.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 binary/mingw-w64/patches/gcc-4.9-20150204-cross.patch (limited to 'binary/mingw-w64/patches/gcc-4.9-20150204-cross.patch') diff --git a/binary/mingw-w64/patches/gcc-4.9-20150204-cross.patch b/binary/mingw-w64/patches/gcc-4.9-20150204-cross.patch new file mode 100644 index 0000000..497aa9b --- /dev/null +++ b/binary/mingw-w64/patches/gcc-4.9-20150204-cross.patch @@ -0,0 +1,25 @@ +diff -ru gcc-4.9-20150204/gcc/config/i386/mingw32.h gcc-cross/gcc/config/i386/mingw32.h +--- gcc-4.9-20150204/gcc/config/i386/mingw32.h 2014-04-23 11:46:13.000000000 +0200 ++++ gcc-cross/gcc/config/i386/mingw32.h 2015-02-09 08:27:15.531922502 +0200 +@@ -162,7 +162,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 "/i686-w64-mingw32/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.9-20150204/gcc/config.gcc gcc-cross/gcc/config.gcc +--- gcc-4.9-20150204/gcc/config.gcc 2014-11-07 18:40:16.000000000 +0200 ++++ gcc-cross/gcc/config.gcc 2015-02-09 08:28:53.155923698 +0200 +@@ -1666,7 +1666,7 @@ + tmake_file="${tmake_file} i386/t-mingw-w32" + ;; + esac +- native_system_header_dir=/mingw/include ++ native_system_header_dir=/i686-w64-mingw32/include + target_gtfiles="\$(srcdir)/config/i386/winnt.c" + extra_options="${extra_options} i386/cygming.opt i386/mingw.opt" + case ${target} in + -- cgit v1.1