summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
Diffstat (limited to 'profiles')
-rw-r--r--profiles/arch/ppc/make.defaults28
1 files changed, 27 insertions, 1 deletions
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"