File: ppc64el.patch

package info (click to toggle)
libvncserver 0.9.9%2Bdfsg2-6.1%2Bdeb8u3
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 5,528 kB
  • sloc: ansic: 38,454; sh: 9,297; makefile: 199
file content (30 lines) | stat: -rw-r--r-- 753 bytes parent folder | download | duplicates (2)
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
Description: Add support for ppc64el
Author: Matthias Klose <doko@debian.org>
Forwarded: https://github.com/LibVNC/libvncserver/pull/17

--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1137,7 +1137,10 @@
         x86_64-*linux*)
           LD="${LD-ld} -m elf_i386"
           ;;
-        ppc64-*linux*|powerpc64-*linux*)
+	powerpc64le-*)
+	  LD="${LD-ld} -m elf32lppclinux"
+	  ;;
+	powerpc64-*)
           LD="${LD-ld} -m elf32ppclinux"
           ;;
         s390x-*linux*)
@@ -1153,7 +1156,10 @@
         x86_64-*linux*)
           LD="${LD-ld} -m elf_x86_64"
           ;;
-        ppc*-*linux*|powerpc*-*linux*)
+	powerpcle-*)
+	  LD="${LD-ld} -m elf64lppc"
+	  ;;
+	powerpc-*)
           LD="${LD-ld} -m elf64ppc"
           ;;
         s390*-*linux*)