summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-10-22 14:26:53 +0200
committerWerner Koch <wk@gnupg.org>2013-12-03 13:59:05 +0100
commit46b6d97b4a396c16df53e82872c3cc772d427623 (patch)
treef64b53c1af4a19ef2f01112e385ace9f26a59de7 /m4
parentfd255da47cdecb90d58bc93995dd4af6b434dbeb (diff)
downloadlibassuan-46b6d97b4a396c16df53e82872c3cc772d427623.tar.gz
Add build support for ppc64le.
* config.guess, config.sub: Update to latest version (2013-11-29). * m4/libtool.m4: Add patches for ppc64le. -- We don't want to update libtool, thus we use patches supplied by IBM.
Diffstat (limited to 'm4')
-rw-r--r--m4/libtool.m410
1 files changed, 8 insertions, 2 deletions
diff --git a/m4/libtool.m4 b/m4/libtool.m4
index 54cc1f9..bd71daa 100644
--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -1282,7 +1282,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
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*)
@@ -1301,7 +1304,10 @@ s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
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*|s390*-*tpf*)