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

Contents of /sys-devel/gcc/gcc-3.4.6-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.42 - (show annotations) (download)
Thu May 14 16:47:01 2015 UTC (6 weeks, 5 days ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.41: +2 -2 lines
Drop residual USE=build references #549310 by Bertrand Jacquin.

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.4.6-r2.ebuild,v 1.41 2015/05/05 06:53:03 vapier Exp $
4
5 EAPI="5"
6
7 PATCH_VER="1.8"
8 UCLIBC_VER="1.1"
9 UCLIBC_GCC_VER="3.4.5"
10 HTB_VER="1.00.1"
11 HTB_GCC_VER="3.4.4"
12 D_VER="0.24"
13
14 inherit eutils toolchain
15
16 KEYWORDS="-* alpha amd64 arm ~ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~x86-fbsd"
17
18 # we need a proper glibc version for the Scrt1.o provided to the pie-ssp specs
19 # NOTE: we SHOULD be using at least binutils 2.15.90.0.1 everywhere for proper
20 # .eh_frame ld optimisation and symbol visibility support, but it hasnt been
21 # well tested in gentoo on any arch other than amd64!!
22 RDEPEND=""
23 DEPEND="${RDEPEND}
24 >=sys-devel/binutils-2.14.90.0.8-r1
25 amd64? ( >=sys-devel/binutils-2.15.90.0.1.1-r1 )"
26
27 src_prepare() {
28 toolchain_src_prepare
29
30 # Anything useful and objc will require libffi. Seriously. Lets just force
31 # libffi to install with USE="objc", even though it normally only installs
32 # if you attempt to build gcj.
33 if use objc && ! use gcj ; then
34 epatch "${FILESDIR}"/3.4.3/libffi-without-libgcj.patch
35 #epatch ${FILESDIR}/3.4.3/libffi-nogcj-lib-path-fix.patch
36 fi
37
38 # Fix cross-compiling
39 epatch "${FILESDIR}"/3.4.4/gcc-3.4.4-cross-compile.patch
40
41 # Arch stuff
42 case $(tc-arch) in
43 amd64)
44 if is_multilib ; then
45 sed -i -e '/GLIBCXX_IS_NATIVE=/s:false:true:' libstdc++-v3/configure || die
46 fi
47 ;;
48 esac
49 }

  ViewVC Help
Powered by ViewVC 1.1.20