summaryrefslogtreecommitdiff
blob: c2cd43c8c230271a57c26f66cb70edd2196fe2c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/profiles/default-linux/ppc/ppc64/2007.0/32bit-userland/make.defaults,v 1.5 2007/04/16 21:14:44 wolf31o2 Exp $

# This is make.defaults for 32-bit userland
ARCH="ppc"
ACCEPT_KEYWORDS="${ARCH}"

CHOST="powerpc-unknown-linux-gnu"
PROFILE_ARCH="ppc64"

CFLAGS="-O2 -pipe"
CXXFLAGS=${CFLAGS}

# We build stage1 against this
STAGE1_USE="gcc64 nptl nptlonly unicode"

# We don't have any other USE here because it is inherited from the parent
# profile.  Additional USE flags should be added into sub-profiles to keep this
# from becoming polluted.
USE="gcc64"

# While this profile uses multilib functionality it is just to maintain
# some similarity across profiles this profile is truly for a singe ABI, ppc32.

FEATURES="autoconfig sandbox sfperms -multilib-pkg"

DEFAULT_ABI="ppc"
KERNEL_ABI="ppc64"

CFLAGS_ppc="-m32"
LDFLAGS_ppc="-m elf32ppc"
CHOST_ppc="powerpc-unknown-linux-gnu"
CDEFINE_ppc="!__powerpc64__"
LIBDIR_ppc="lib"

LDFLAGS_ppc64="-m elf64ppc"
CHOST_ppc64="powerpc64-unknown-linux-gnu"