blob: 8964d831884109ef662b73afb31376831af11337 (
plain) (
tree)
|
|
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=G3 -fno-omit-frame-pointer"
CXXFLAGS="${CFLAGS}"
ELIBC="musl"
USE="altivec pam threads"
|