summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-12-06 04:54:39 +0000
committerMike Frysinger <vapier@gentoo.org>2011-12-06 04:54:39 +0000
commitc6f375e1b9a35e316d8c6cfec1810a794c079973 (patch)
tree79adbd28c60b1e9719f31db4cf6aaf0f21219471 /eclass
parentdrop HARDENED_{GCC,PIE}_WORKS variable checking since no one sets these anymore (diff)
downloadgentoo-2-c6f375e1b9a35e316d8c6cfec1810a794c079973.tar.gz
gentoo-2-c6f375e1b9a35e316d8c6cfec1810a794c079973.tar.bz2
gentoo-2-c6f375e1b9a35e316d8c6cfec1810a794c079973.zip
collapse redundant hardened_gcc_works checks in want_minispecs
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 9fdaef23d45c..6164cd4c325d 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.497 2011/12/06 04:52:25 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.498 2011/12/06 04:54:39 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -403,7 +403,7 @@ want_minispecs() {
ewarn "You will not get hardened features if you have the vanilla USE-flag."
elif use nopie && use nossp ; then
ewarn "You will not get hardened features if you have the nopie and nossp USE-flag."
- elif ! hardened_gcc_works pie && ! hardened_gcc_works ssp && ! use nopie ; then
+ elif ! hardened_gcc_works ; then
ewarn "Your $(tc-arch) arch is not supported."
else
return 0