summaryrefslogtreecommitdiff
blob: 0d86521653aa4808678b2d99ad9e398b4367ee68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
https://bugs.gentoo.org/580792
https://bugs.gentoo.org/581314
https://debbugs.gnu.org/23348

this fixes ppc64le handling in newer libtool versions

--- a/m4/libtool.m4
+++ b/m4/libtool.m4
@@ -1386,10 +1386,10 @@
 	  x86_64-*linux*)
 	    LD="${LD-ld} -m elf_x86_64"
 	    ;;
-	  powerpcle-*linux*)
+	  powerpcle-*linux*|powerpc64le-*linux*)
 	    LD="${LD-ld} -m elf64lppc"
 	    ;;
-	  powerpc-*linux*)
+	  powerpc-*linux*|powerpc64-*linux*)
 	    LD="${LD-ld} -m elf64ppc"
 	    ;;
 	  s390*-*linux*|s390*-*tpf*)