* [gentoo-commits] repo/proj/ppc64le:master commit in: eclass/ELT-patches/ppc64le/, eclass/
@ 2016-06-28 17:19 Anthony G. Basile
0 siblings, 0 replies; only message in thread
From: Anthony G. Basile @ 2016-06-28 17:19 UTC (permalink / raw
To: gentoo-commits
commit: c79fb8d14603bcbf39a94223c57ef13cd8f3cba9
Author: Leno Hou <lenohou <AT> gmail <DOT> com>
AuthorDate: Tue Jun 28 17:22:01 2016 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Jun 28 17:22:01 2016 +0000
URL: https://gitweb.gentoo.org/repo/proj/ppc64le.git/commit/?id=c79fb8d1
libtool.eclass: elibtoolize: add ppc64le handling #580792
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
eclass/ELT-patches/ppc64le/2.4.2 | 26 ++++++++++++++++++++++++++
eclass/libtool.eclass | 6 +++++-
2 files changed, 31 insertions(+), 1 deletion(-)
diff --git a/eclass/ELT-patches/ppc64le/2.4.2 b/eclass/ELT-patches/ppc64le/2.4.2
new file mode 100644
index 0000000..d61f6c3
--- /dev/null
+++ b/eclass/ELT-patches/ppc64le/2.4.2
@@ -0,0 +1,26 @@
+--- m4/libtool.m4.orig 2016-04-21 16:50:01.118444710 +0000
++++ m4/libtool.m4 2016-04-21 16:52:39.419906716 +0000
+@@ -1329,6 +1329,9 @@
+ ppc64-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf32ppclinux"
+ ;;
++ ppc64le-*linux*|powerpc64le-*linux*)
++ LD="${LD-ld} -m elf32lppclinux"
++ ;;
+ s390x-*linux*)
+ LD="${LD-ld} -m elf_s390"
+ ;;
+@@ -1345,9 +1348,12 @@
+ x86_64-*linux*)
+ LD="${LD-ld} -m elf_x86_64"
+ ;;
+- ppc*-*linux*|powerpc*-*linux*)
++ powerpc-*linux*|powerpc64-*linux*)
+ LD="${LD-ld} -m elf64ppc"
+ ;;
++ powerpcle-*linux*|powerpc64le-*linux*)
++ LD="${LD-ld} -m elf64lppc"
++ ;;
+ s390*-*linux*|s390*-*tpf*)
+ LD="${LD-ld} -m elf64_s390"
+ ;;
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
index 47ef812..9f56c20 100644
--- a/eclass/libtool.eclass
+++ b/eclass/libtool.eclass
@@ -144,7 +144,7 @@ elibtoolize() {
local deptoremove=
local do_shallow="no"
local force="false"
- local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross as-needed target-nm"
+ local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross as-needed target-nm ppc64le"
for x in "$@" ; do
case ${x} in
@@ -417,6 +417,10 @@ elibtoolize() {
ELT_walk_patches "${d}/configure" "${p}"
ret=$?
;;
+ ppc64le)
+ ELT_walk_patches "${d}/configure" "${p}"
+ ret=$?
+ ;;
*)
# ltmain.sh patches are applied above
;;
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-06-28 17:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-28 17:19 [gentoo-commits] repo/proj/ppc64le:master commit in: eclass/ELT-patches/ppc64le/, eclass/ Anthony G. Basile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox