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

Diff of /sys-devel/gcc/gcc-4.5.4.ebuild

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

Revision 1.15 Revision 1.16
1# Copyright 1999-2013 Gentoo Foundation 1# Copyright 1999-2013 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/gcc-4.5.4.ebuild,v 1.15 2013/04/21 02:31:00 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.5.4.ebuild,v 1.16 2013/05/15 02:43:13 dirtyepic Exp $
4 4
5PATCH_VER="1.2" 5PATCH_VER="1.2"
6UCLIBC_VER="1.0" 6UCLIBC_VER="1.0"
7 7
8# Hardened gcc 4 stuff 8# Hardened gcc 4 stuff
41 41
42 sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200 42 sed -i 's/use_fixproto=yes/:/' gcc/config.gcc #PR33200
43 43
44 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch 44 [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
45} 45}
46
47pkg_setup() {
48 toolchain_pkg_setup
49
50 if use lto ; then
51 ewarn
52 ewarn "LTO support is still experimental and unstable."
53 ewarn "Any bugs resulting from the use of LTO will not be fixed."
54 ewarn
55 fi
56}

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

  ViewVC Help
Powered by ViewVC 1.1.20