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

Diff of /sys-devel/gcc/gcc-4.5.1-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.5 Revision 1.6
1# Copyright 1999-2011 Gentoo Foundation 1# Copyright 1999-2011 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/Attic/gcc-4.5.1-r1.ebuild,v 1.5 2011/08/06 01:00:22 dirtyepic Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/Attic/gcc-4.5.1-r1.ebuild,v 1.6 2011/09/26 17:38:49 vapier Exp $
4 4
5PATCH_VER="1.4" 5PATCH_VER="1.4"
6UCLIBC_VER="1.0" 6UCLIBC_VER="1.0"
7
8ETYPE="gcc-compiler"
9 7
10# Hardened gcc 4 stuff 8# Hardened gcc 4 stuff
11PIE_VER="0.4.5" 9PIE_VER="0.4.5"
12SPECS_VER="0.2.0" 10SPECS_VER="0.2.0"
13SPECS_GCC_VER="4.4.3" 11SPECS_GCC_VER="4.4.3"
69if [[ ${CATEGORY} != cross-* ]] ; then 67if [[ ${CATEGORY} != cross-* ]] ; then
70 PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )" 68 PDEPEND="${PDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.8 )"
71fi 69fi
72 70
73src_unpack() { 71src_unpack() {
74 gcc_src_unpack 72 toolchain_src_unpack
75 73
76 use vanilla && return 0 74 use vanilla && return 0
77 75
78 sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200 76 sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
79 77
81 79
82 [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.4.0/gcc-4.4.0-softfloat.patch 80 [[ ${CTARGET} == *-softfloat-* ]] && epatch "${FILESDIR}"/4.4.0/gcc-4.4.0-softfloat.patch
83} 81}
84 82
85pkg_setup() { 83pkg_setup() {
86 gcc_pkg_setup 84 toolchain_pkg_setup
87 85
88 if use lto ; then 86 if use lto ; then
89 ewarn 87 ewarn
90 ewarn "LTO support is still experimental and unstable." 88 ewarn "LTO support is still experimental and unstable."
91 ewarn "Any bugs resulting from the use of LTO will not be fixed." 89 ewarn "Any bugs resulting from the use of LTO will not be fixed."

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.20