summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-10-02 16:04:21 +0100
committerSam James <sam@gentoo.org>2023-10-02 16:05:41 +0100
commite974ac78c7eba3c5dd115e88bd2276dd1e4ecb4c (patch)
tree7621a5c0c1360d42e3f96b464df044f5e1383876 /profiles
parentnet-misc/remmina: add 1.4.33 (diff)
downloadgentoo-e974ac78c7eba3c5dd115e88bd2276dd1e4ecb4c.tar.gz
gentoo-e974ac78c7eba3c5dd115e88bd2276dd1e4ecb4c.tar.bz2
gentoo-e974ac78c7eba3c5dd115e88bd2276dd1e4ecb4c.zip
profiles/arch/powerpc/ppc64/64le: set LDFLAGS_ppc64
A recent change to toolchain.eclass (bb2d045c02a6ca647ef3280f4987cbc0d14e5a7e) starts to use LDFLAGS_${ABI}. It turns out in the 64le profiles, we weren't overridding LDLFLAGS_ppc64 so we were picking up the big-endian version (elf64ppc). Fix that - which is in line with what we do for CFLAGS & CHOST in that file anyway. Closes: https://bugs.gentoo.org/915057 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles')
-rw-r--r--profiles/arch/powerpc/ppc64/64le/make.defaults5
1 files changed, 4 insertions, 1 deletions
diff --git a/profiles/arch/powerpc/ppc64/64le/make.defaults b/profiles/arch/powerpc/ppc64/64le/make.defaults
index 7a7e3bdc53a1..7d877f4814d9 100644
--- a/profiles/arch/powerpc/ppc64/64le/make.defaults
+++ b/profiles/arch/powerpc/ppc64/64le/make.defaults
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
CHOST="powerpc64le-unknown-linux-gnu"
@@ -9,3 +9,6 @@ FCFLAGS="${CFLAGS}"
CHOST_ppc64="powerpc64le-unknown-linux-gnu"
CHOST_ppc="powerpcle-unknown-linux-gnu"
+LDFLAGS_ppc64="-m elf64lppc"
+# TODO: elf32lppc or elf32lppclinux?
+#LDFLAGS_ppc="-m elf32lppc"