summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGordon Malm <gengor@gentoo.org>2009-01-08 09:56:00 +0000
committerGordon Malm <gengor@gentoo.org>2009-01-08 09:56:00 +0000
commitb47f52355c8120fec745157e6e94534cc5f2c76e (patch)
treeb19c61b62b3a5cb30ed4a1dc2b60ce8e89032937 /eclass/toolchain-funcs.eclass
parentclean up (diff)
downloadgentoo-2-b47f52355c8120fec745157e6e94534cc5f2c76e.tar.gz
gentoo-2-b47f52355c8120fec745157e6e94534cc5f2c76e.tar.bz2
gentoo-2-b47f52355c8120fec745157e6e94534cc5f2c76e.zip
Revert changes to hardened funcs for now
Diffstat (limited to 'eclass/toolchain-funcs.eclass')
-rw-r--r--eclass/toolchain-funcs.eclass5
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} ]])