From 302ccc195b58cd03fabbd0855f186857d53aa899 Mon Sep 17 00:00:00 2001 From: Lior Kaplan Date: Thu, 28 Aug 2014 00:37:01 +0300 Subject: libtool: powerpc*le-linux support by Alan Modra Patch created using the following changes in libtool: http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=75ffb257 http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=056889b8 http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=bd998a7e http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=429d40a0 http://git.savannah.gnu.org/cgit/libtool.git/commit/?id=8a8dfaec --- build/libtool.m4 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'build') diff --git a/build/libtool.m4 b/build/libtool.m4 index 4d948b9078..37dc159882 100644 --- a/build/libtool.m4 +++ b/build/libtool.m4 @@ -615,7 +615,7 @@ ia64-*-hpux*) rm -rf conftest* ;; -x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \ +x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \ s390*-*linux*|sparc*-*linux*) # Find out which ABI we are using. echo 'int i;' > conftest.$ac_ext @@ -629,7 +629,10 @@ s390*-*linux*|sparc*-*linux*) x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - ppc64-*linux*|powerpc64-*linux*) + powerpc64le-*linux*) + LD="${LD-ld} -m elf32lppclinux" + ;; + powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -648,7 +651,10 @@ s390*-*linux*|sparc*-*linux*) x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - ppc*-*linux*|powerpc*-*linux*) + powerpcle-*linux*) + LD="${LD-ld} -m elf64lppc" + ;; + powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*) -- cgit v1.2.1