blob: ce2e6bc5fb0db0b0c759ba4ae6e07ec2da1e4235 (
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=7450 -maltivec -fno-omit-frame-pointer -mfpu=dp_full"
CXXFLAGS="${CFLAGS}"
ELIBC="musl"
USE="altivec pam threads"
|