From: Alexx83 <no...@so...> - 2013-03-24 20:18:45
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Repository: msys2-tools". The branch, master has been updated via 775333f3543ca4b511ca2827779a178392999d56 (commit) from ad415ba7bad0041d37dbf3fb19fcc10f9f54bd1a (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- https://sf.net/p/mingw/msys2-tools/ci/775333f3543ca4b511ca2827779a178392999d56/ commit 775333f3543ca4b511ca2827779a178392999d56 Author: Alexpux <ale...@gm...> Date: Mon Mar 25 00:18:21 2013 +0400 Fix build for MSYS 32-bit target. Add __MSYS__ to cppbuiltins diff --git a/gcc/4.8.0/msys2-gcc-4.8.0.patch b/gcc/4.8.0/msys2-gcc-4.8.0.patch index 8a0de52..94d94e2 100644 --- a/gcc/4.8.0/msys2-gcc-4.8.0.patch +++ b/gcc/4.8.0/msys2-gcc-4.8.0.patch @@ -705,7 +705,7 @@ diff -Naur gcc-cygwin/gcc/config/i386/msys.h gcc-msys2/gcc/config/i386/msys.h +#undef CPP_SPEC +#define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE} \ + %{!ansi:-Dunix} %{pthread: } \ -+ %{mwin32:-DWIN32 -D_WIN32 -D__WIN32 -D__WIN32__ %{!ansi:-DWINNT}} \ ++ %{mwin32:-DWIN32 -D_WIN32 -D__WIN32 -D__WIN32__ -D__MSYS__ %{!ansi:-DWINNT}} \ + %{!nostdinc:%{!mno-win32:-idirafter ../include/w32api%s -idirafter ../../include/w32api%s}}\ +" + @@ -845,7 +845,7 @@ diff -Naur gcc-cygwin/gcc/config.build gcc-msys2/gcc/config.build diff -Naur gcc-cygwin/gcc/config.gcc gcc-msys2/gcc/config.gcc --- gcc-cygwin/gcc/config.gcc 2013-03-20 06:44:50 +0400 +++ gcc-msys2/gcc/config.gcc 2013-03-20 08:34:27 +0400 -@@ -1468,6 +1468,36 @@ +@@ -1468,6 +1468,37 @@ use_gcc_stdint=wrap tm_defines="${tm_defines} TARGET_CYGWIN64=1" ;; @@ -862,6 +862,7 @@ diff -Naur gcc-cygwin/gcc/config.gcc gcc-msys2/gcc/config.gcc + thread_file='posix' + fi + use_gcc_stdint=wrap ++ tm_defines="${tm_defines} TARGET_CYGWIN64=0" + ;; +x86_64-*-msys*) + need_64bit_isa=yes ----------------------------------------------------------------------- Summary of changes: gcc/4.8.0/msys2-gcc-4.8.0.patch | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) hooks/post-receive -- Repository: msys2-tools |