diff options
author | 2009-01-08 09:56:00 +0000 | |
---|---|---|
committer | 2009-01-08 09:56:00 +0000 | |
commit | a2fc8211b11dde960e1a6d79fd69101e5aff80ab (patch) | |
tree | 5c6aafcf88520f5ee054fec8565359a7ac8a8efc /eclass/toolchain-funcs.eclass | |
parent | clean up (diff) | |
download | historical-a2fc8211b11dde960e1a6d79fd69101e5aff80ab.tar.gz historical-a2fc8211b11dde960e1a6d79fd69101e5aff80ab.tar.bz2 historical-a2fc8211b11dde960e1a6d79fd69101e5aff80ab.zip |
Revert changes to hardened funcs for now
Diffstat (limited to 'eclass/toolchain-funcs.eclass')
-rw-r--r-- | eclass/toolchain-funcs.eclass | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass index de56cf8fc7c1..03cd89f34613 100644 --- a/eclass/toolchain-funcs.eclass +++ b/eclass/toolchain-funcs.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.82 2009/01/08 06:33:20 gengor Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.83 2009/01/08 09:56:00 gengor Exp $ # @ECLASS: toolchain-funcs.eclass # @MAINTAINER: @@ -365,21 +365,18 @@ gcc-specs-pie() { } # Returns true if gcc builds with the stack protector gcc-specs-ssp() { - [[ $(test-flags-CC -fno-stack-protector) ]] || return 1 local directive directive=$(gcc-specs-directive cc1) return $([[ ${directive/\{!fno-stack-protector:} != ${directive} ]]) } # Returns true if gcc upgrades fstack-protector to fstack-protector-all gcc-specs-ssp-to-all() { - [[ $(test-flags-CC -fno-stack-protector-all) ]] || return 1 local directive directive=$(gcc-specs-directive cc1) return $([[ ${directive/\{!fno-stack-protector-all:} != ${directive} ]]) } # Returns true if gcc builds with fno-strict-overflow gcc-specs-nostrict() { - [[ $(test-flags-CC -fstrict-overflow) ]] || return 1 local directive directive=$(gcc-specs-directive cc1) return $([[ ${directive/\{!fstrict-overflow:} != ${directive} ]]) |