collapse redundant hardened_gcc_works checks in want_minispecs
authorMike Frysinger <vapier@gentoo.org>
Tue, 6 Dec 2011 04:54:39 +0000 (04:54 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 6 Dec 2011 04:54:39 +0000 (04:54 +0000)
eclass/toolchain.eclass

index 9fdaef23d45c64bc05540193e8f90868d1d0bf0a..6164cd4c325d07798d02a11572efff1b3a3ad45a 100644 (file)
@@ -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