summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorLior Kaplan <kaplanlior@gmail.com>2014-08-28 00:37:01 +0300
committerLior Kaplan <kaplanlior@gmail.com>2014-08-28 00:37:01 +0300
commit302ccc195b58cd03fabbd0855f186857d53aa899 (patch)
treeeac2f1c4e1458c90a2cf1c6ed70311f1bfa7b6a3 /build
parent30a73658c63a91c413305a4c4d49882fda4dab3e (diff)
downloadphp-git-302ccc195b58cd03fabbd0855f186857d53aa899.tar.gz
libtool: powerpc*le-linux support by Alan Modra <amodra@bigpond.net.au>
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
Diffstat (limited to 'build')
-rw-r--r--build/libtool.m412
1 files changed, 9 insertions, 3 deletions
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*)