From 6116a0c8ad8d0bea625afa0ebbb14fa133c1674b Mon Sep 17 00:00:00 2001 From: Andrew Wilcox Date: Mon, 18 Jul 2016 20:52:04 -0500 Subject: Initial PowerPC profile --- profiles/arch/ppc/make.defaults | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) (limited to 'profiles/arch') diff --git a/profiles/arch/ppc/make.defaults b/profiles/arch/ppc/make.defaults index c07272555..ce2e6bc5f 100644 --- a/profiles/arch/ppc/make.defaults +++ b/profiles/arch/ppc/make.defaults @@ -1 +1,27 @@ -ARCH=ppc +CHOST="powerpc-foxkit-linux-musl" + +# We definitely use 32-bit ABI. +ABI_PPC="32" +IUSE_IMPLICIT="abi_ppc_32" + +ARCH="ppc" +ACCEPT_KEYWORDS="${ARCH}" + +# -O2 -> Perform second-level optimisations. +# Not -Os because most/all PPC aren't starved for space. +# -ggdb -> Generate GDB debugging information. +# This is used with splitdebug to make -dbg split packages. +# -mcpu=7450 -> Require a 7450 or higher, or "G4". +# 700/G3 uses the g3 profile, overriding this. +# 600 series is not supported by Adélie. +# -maltivec. -> Use AltiVec floating point extensions. +#. These are always available on 7450+. +# -fno-omit-... -> Never omit the frame pointer. +# This is crucial for proper debugging. +# -mfpu=dp_full -> Use hardware for floating point math. +CFLAGS="-O2 -mlong-double-64 " #-ggdb -mcpu=7450 -maltivec -fno-omit-frame-pointer -mfpu=dp_full" +CXXFLAGS="${CFLAGS}" + +ELIBC="musl" + +USE="altivec pam threads" -- cgit v1.2.3-70-g09d2