summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-10 04:10:38 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-10 04:10:38 +0000
commit28534c4863efbace64e2c710fb149d2259e0489a (patch)
tree8dd34c41d9f5611500cb5d01408c3d9a79103513 /sys-devel/gcc/gcc-3.4.3.20050110-r2.ebuild
parentAdd patch from upstream cvs to fix some hangs #98156 by Scott Jones. (diff)
downloadhistorical-28534c4863efbace64e2c710fb149d2259e0489a.tar.gz
historical-28534c4863efbace64e2c710fb149d2259e0489a.tar.bz2
historical-28534c4863efbace64e2c710fb149d2259e0489a.zip
Dont apply spec-env patch to cross-compilers otherwise native hardened users can screw up their cross-compilers real quick #96162 by Kevin F. Quinn.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'sys-devel/gcc/gcc-3.4.3.20050110-r2.ebuild')
-rw-r--r--sys-devel/gcc/gcc-3.4.3.20050110-r2.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-devel/gcc/gcc-3.4.3.20050110-r2.ebuild b/sys-devel/gcc/gcc-3.4.3.20050110-r2.ebuild
index a540bf771f09..0b62b139054a 100644
--- a/sys-devel/gcc/gcc-3.4.3.20050110-r2.ebuild
+++ b/sys-devel/gcc/gcc-3.4.3.20050110-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.4.3.20050110-r2.ebuild,v 1.7 2005/07/06 05:39:39 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.4.3.20050110-r2.ebuild,v 1.8 2005/07/10 04:10:38 vapier Exp $
MAN_VER="3.4.3"
PATCH_VER="1.3"
@@ -79,7 +79,7 @@ src_unpack() {
sed -e 's/3\.4\.4/3.4.3/' -i ${S}/gcc/version.c
# misc patches that havent made it into a patch tarball yet
- epatch ${FILESDIR}/gcc-spec-env.patch
+ [[ ${CHOST} == ${CTARGET} ]] && epatch "${FILESDIR}"/gcc-spec-env.patch
# nothing in the tree provides libssp.so, so nothing will ever trigger this
# logic, but having the patch in the tree makes life so much easier for me