blob: 89c4ba3628bc791d4d8e69f4b4bdfec03990ac25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI="5"
GCC_FILESDIR="${PORTDIR}/sys-devel/gcc/files"
inherit eutils toolchain
KEYWORDS=""
RDEPEND=""
DEPEND="${RDEPEND}
>=${CATEGORY}/binutils-2.16.1"
src_prepare() {
toolchain_src_prepare
use vanilla && return 0
# Fix cross-compiling
epatch "${GCC_FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
}
|