File: 17_libtool_ppc64el.patch

package info (click to toggle)
mpqc 2.3.1-22
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid
  • size: 43,140 kB
  • sloc: cpp: 258,686; sh: 8,532; perl: 6,017; ansic: 5,499; makefile: 2,497; fortran: 1,970; lisp: 1,269; yacc: 313; lex: 177; csh: 45
file content (71 lines) | stat: -rw-r--r-- 1,774 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
Description: Manually patch libtool files to add support for ppc64el
Author: Logan Rosen <logan@ubuntu.com>
Last-Update: 2014-05-02
--- a/configure
+++ b/configure
@@ -14784,9 +14784,12 @@
         x86_64-*linux*)
           LD="${LD-ld} -m elf_i386"
           ;;
-        ppc64-*linux*|powerpc64-*linux*)
-          LD="${LD-ld} -m elf32ppclinux"
-          ;;
+        powerpc64le-*)
+	  LD="${LD-ld} -m elf32lppclinux"
+	  ;;
+	powerpc64-*)
+	  LD="${LD-ld} -m elf32ppclinux"
+	  ;;
         s390x-*linux*)
           LD="${LD-ld} -m elf_s390"
           ;;
@@ -14800,9 +14803,12 @@
         x86_64-*linux*)
           LD="${LD-ld} -m elf_x86_64"
           ;;
-        ppc*-*linux*|powerpc*-*linux*)
-          LD="${LD-ld} -m elf64ppc"
-          ;;
+        powerpcle-*)
+	  LD="${LD-ld} -m elf64lppc"
+	  ;;
+	powerpc-*)
+	  LD="${LD-ld} -m elf64ppc"
+	  ;;
         s390*-*linux*)
           LD="${LD-ld} -m elf64_s390"
           ;;
--- a/lib/autoconf/libtool.m4
+++ b/lib/autoconf/libtool.m4
@@ -576,9 +576,12 @@
         x86_64-*linux*)
           LD="${LD-ld} -m elf_i386"
           ;;
-        ppc64-*linux*|powerpc64-*linux*)
-          LD="${LD-ld} -m elf32ppclinux"
-          ;;
+        powerpc64le-*)
+	  LD="${LD-ld} -m elf32lppclinux"
+	  ;;
+	powerpc64-*)
+	  LD="${LD-ld} -m elf32ppclinux"
+	  ;;
         s390x-*linux*)
           LD="${LD-ld} -m elf_s390"
           ;;
@@ -592,9 +595,12 @@
         x86_64-*linux*)
           LD="${LD-ld} -m elf_x86_64"
           ;;
-        ppc*-*linux*|powerpc*-*linux*)
-          LD="${LD-ld} -m elf64ppc"
-          ;;
+        powerpcle-*)
+	  LD="${LD-ld} -m elf64lppc"
+	  ;;
+	powerpc-*)
+	  LD="${LD-ld} -m elf64ppc"
+	  ;;
         s390*-*linux*)
           LD="${LD-ld} -m elf64_s390"
           ;;