~lrn1986/stupidbuild/msys2-xc

« back to all changes in this revision

Viewing changes to src/msys/gmp/patches/gmp-5.1.2-msys2.patch

  • Committer: LRN
  • Date: 2015-03-25 16:02:51 UTC
  • Revision ID: lrn1986@gmail.com-20150325160251-hecdhgrbbfowxa91
Initial commit for the buildsystem rewrite

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
diff -Naur gmp-5.1.2-orig/configfsf.guess gmp-5.1.2/configfsf.guess
 
2
--- gmp-5.1.2-orig/configfsf.guess      2013-05-20 14:59:56.000000000 +0000
 
3
+++ gmp-5.1.2/configfsf.guess   2013-06-02 05:43:41.018554700 +0000
 
4
@@ -851,6 +851,9 @@
 
5
     amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
 
6
        echo x86_64-unknown-cygwin
 
7
        exit ;;
 
8
+    amd64:MSYS*:*:* | x86_64:MSYS*:*:*)
 
9
+       echo x86_64-unknown-msys
 
10
+       exit ;;
 
11
     p*:CYGWIN*:*)
 
12
        echo powerpcle-unknown-cygwin
 
13
        exit ;;
 
14
diff -Naur gmp-5.1.2-orig/configure.ac gmp-5.1.2/configure.ac
 
15
--- gmp-5.1.2-orig/configure.ac 2013-05-20 14:59:56.000000000 +0000
 
16
+++ gmp-5.1.2/configure.ac      2013-06-02 05:42:33.099609400 +0000
 
17
@@ -1703,7 +1703,7 @@
 
18
            cclist_64="$cclist_64 cc"
 
19
            cc_64_cflags="-xO3 -m64"
 
20
            ;;
 
21
-         *-*-mingw* | *-*-cygwin)
 
22
+         *-*-mingw* | *-*-cygwin | *-*-msys)
 
23
            limb_64=longlong
 
24
            CALLING_CONVENTIONS_OBJS_64=""
 
25
            AC_DEFINE(HOST_DOS64,1,[Define to 1 for Windos/64])
 
26
@@ -2363,7 +2363,7 @@
 
27
 
 
28
 AC_SUBST(LIBGMP_DLL,0)
 
29
 case $host in
 
30
-  *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-os2*)
 
31
+  *-*-cygwin* | *-*-msys* | *-*-mingw* | *-*-pw32* | *-*-os2*)
 
32
     # By default, build only static.
 
33
     if test -z "$enable_shared"; then
 
34
       enable_shared=no
 
35
@@ -3457,7 +3457,7 @@
 
36
          case $host in
 
37
            *-*-darwin*)
 
38
              GMP_INCLUDE_MPN(x86_64/darwin.m4) ;;
 
39
-           *-*-mingw* | *-*-cygwin)
 
40
+           *-*-mingw* | *-*-cygwin | *-*-msys)
 
41
              GMP_INCLUDE_MPN(x86_64/dos64.m4) ;;
 
42
          esac
 
43
           ;;
 
44
@@ -3686,7 +3686,7 @@
 
45
 
 
46
 if test x$cross_compiling = xyes ; then
 
47
    case "$host" in
 
48
-     *-*-mingw* | *-*-cygwin)
 
49
+     *-*-mingw* | *-*-cygwin | *-*-msys)
 
50
      if test x$ABI = x64 ; then
 
51
        AC_MSG_NOTICE([If wine64 is installed, use make check TESTS_ENVIRONMENT=wine64.])
 
52
      else