|
Lines 4-9
Link Here
|
| 4 |
|
4 |
|
| 5 |
inherit eutils flag-o-matic toolchain-funcs |
5 |
inherit eutils flag-o-matic toolchain-funcs |
| 6 |
|
6 |
|
|
|
7 |
EAPI="2" |
| 8 |
|
| 7 |
export CBUILD=${CBUILD:-${CHOST}} |
9 |
export CBUILD=${CBUILD:-${CHOST}} |
| 8 |
export CTARGET=${CTARGET:-${CHOST}} |
10 |
export CTARGET=${CTARGET:-${CHOST}} |
| 9 |
if [[ ${CTARGET} == ${CHOST} ]] ; then |
11 |
if [[ ${CTARGET} == ${CHOST} ]] ; then |
|
Lines 41-46
Link Here
|
| 41 |
mkdir -p "${NEWLIBBUILD}" |
43 |
mkdir -p "${NEWLIBBUILD}" |
| 42 |
} |
44 |
} |
| 43 |
|
45 |
|
|
|
46 |
src_prepare() { |
| 47 |
epatch "${FILESDIR}"/newlib-1.20.0-configure-host-arm.patch || die |
| 48 |
} |
| 49 |
|
| 44 |
src_compile() { |
50 |
src_compile() { |
| 45 |
# we should fix this ... |
51 |
# we should fix this ... |
| 46 |
unset LDFLAGS |
52 |
unset LDFLAGS |