/[gentoo-x86]/sys-devel/gcc/gcc-4.1.2.ebuild
Gentoo

Contents of /sys-devel/gcc/gcc-4.1.2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.31 - (show annotations) (download)
Fri Dec 2 23:43:54 2011 UTC (2 years, 7 months ago) by vapier
Branch: MAIN
Changes since 1.30: +1 -5 lines
Delete old hardened logic as we no longer support it (split specs/etc...).

(Portage version: 2.2.0_alpha75/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.1.2.ebuild,v 1.30 2011/11/09 19:22:57 vapier Exp $
4
5 PATCH_VER="1.3"
6 UCLIBC_VER="1.0"
7 D_VER="0.24"
8
9 inherit toolchain
10
11 DESCRIPTION="The GNU Compiler Collection"
12
13 LICENSE="GPL-2 LGPL-2.1 FDL-1.2"
14 KEYWORDS="-* alpha amd64 arm hppa ia64 ~m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd"
15
16 RDEPEND=""
17 DEPEND="${RDEPEND}
18 ppc? ( >=${CATEGORY}/binutils-2.17 )
19 ppc64? ( >=${CATEGORY}/binutils-2.17 )
20 >=${CATEGORY}/binutils-2.15.94"
21
22 src_unpack() {
23 toolchain_src_unpack
24
25 use vanilla && return 0
26
27 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
28
29 # Fix cross-compiling
30 epatch "${FILESDIR}"/4.1.0/gcc-4.1.0-cross-compile.patch
31
32 [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.0.2/gcc-4.0.2-softfloat.patch
33
34 epatch "${FILESDIR}"/4.1.0/gcc-4.1.0-fast-math-i386-Os-workaround.patch
35 }

  ViewVC Help
Powered by ViewVC 1.1.20