summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorKevin F. Quinn <kevquinn@gentoo.org>2006-03-30 07:05:46 +0000
committerKevin F. Quinn <kevquinn@gentoo.org>2006-03-30 07:05:46 +0000
commit7974b37899523decc43ccf6fc522547df531b342 (patch)
treee29d6b566ded834e80c2d82d206f480d35361079 /eclass
parentVersion bump. (diff)
downloadgentoo-2-7974b37899523decc43ccf6fc522547df531b342.tar.gz
gentoo-2-7974b37899523decc43ccf6fc522547df531b342.tar.bz2
gentoo-2-7974b37899523decc43ccf6fc522547df531b342.zip
Replace has_hardened with (in this case) gcc-specs-ssp - bug #128023
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index dcb4edad5bcc..705684bcb4d0 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.254 2006/03/24 04:03:54 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.255 2006/03/30 07:05:46 kevquinn Exp $
HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
LICENSE="GPL-2 LGPL-2.1"
@@ -1331,7 +1331,7 @@ gcc_do_make() {
if [[ ${GCC_MAKE_TARGET} == "all" ]] ; then
STAGE1_CFLAGS=${STAGE1_CFLAGS-"${CFLAGS}"}
- elif [[ $(gcc-version) == "3.4" && ${GCC_BRANCH_VER} == "3.4" ]] && has_hardened ; then
+ elif [[ $(gcc-version) == "3.4" && ${GCC_BRANCH_VER} == "3.4" ]] && gcc-specs-ssp ; then
# See bug #79852
STAGE1_CFLAGS=${STAGE1_CFLAGS-"-O2"}
else