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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.14 - (show annotations) (download)
Tue Dec 6 04:05:49 2011 UTC (2 years, 4 months ago) by vapier
Branch: MAIN
Changes since 1.13: +1 -4 lines
Drop obsolete/unsupported SSP/PIE code in older gcc versions.

(Portage version: 2.2.0_alpha79/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.0.4.ebuild,v 1.13 2011/12/03 02:36:35 vapier Exp $
4
5 PATCH_VER="1.1"
6 UCLIBC_VER="1.0"
7
8 inherit toolchain
9
10 DESCRIPTION="The GNU Compiler Collection"
11
12 LICENSE="GPL-2 LGPL-2.1 FDL-1.2"
13 KEYWORDS="-* ~ia64 ~m68k"
14
15 RDEPEND=""
16 DEPEND="${RDEPEND}
17 >=${CATEGORY}/binutils-2.15.94"
18
19 src_unpack() {
20 toolchain_src_unpack
21
22 use vanilla && return 0
23
24 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
25
26 # Fix cross-compiling
27 epatch "${FILESDIR}"/4.0.2/gcc-4.0.2-cross-compile.patch
28
29 [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.0.2/gcc-4.0.2-softfloat.patch
30 }

  ViewVC Help
Powered by ViewVC 1.1.20