lang/gcc9: fix build on powerpc64le
Backport patch from gcc9-devel to fix build.
This commit is contained in:
parent
e3c89bd5c4
commit
a0b9c23566
2 changed files with 12 additions and 1 deletions
|
@ -12,7 +12,7 @@ COMMENT= GNU Compiler Collection 9
|
|||
LICENSE= GPLv3 GPLv3RLE
|
||||
LICENSE_COMB= multi
|
||||
|
||||
ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 sparc64
|
||||
ONLY_FOR_ARCHS= aarch64 amd64 arm armv6 armv7 i386 powerpc powerpc64 powerpc64le sparc64
|
||||
|
||||
LIB_DEPENDS= libgmp.so:math/gmp \
|
||||
libmpfr.so:math/mpfr \
|
||||
|
|
11
lang/gcc9/files/patch-gcc_configure
Normal file
11
lang/gcc9/files/patch-gcc_configure
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- gcc/configure.orig 2021-04-29 10:19:44 UTC
|
||||
+++ gcc/configure
|
||||
@@ -29405,7 +29405,7 @@ $as_echo "#define HAVE_LD_PPC_GNU_ATTR_LONG_DOUBLE 1"
|
||||
esac
|
||||
|
||||
case "$target:$tm_file" in
|
||||
- powerpc64-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*)
|
||||
+ powerpc64*-*-freebsd* | powerpc64*-*-linux* | powerpc*-*-linux*rs6000/biarch64.h*)
|
||||
case "$target" in
|
||||
*le-*-linux*)
|
||||
emul_name="-melf64lppc"
|
Loading…
Reference in a new issue