From 42ba1e43ed92eb11ad6d1aa02131e3de77198698 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 14 Jan 2012 08:05:32 +0000 Subject: [PATCH] delete dead funcs --- eclass/flag-o-matic.eclass | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index f53c5765e780..0dfc6894c596 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.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/flag-o-matic.eclass,v 1.164 2012/01/13 22:40:29 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.165 2012/01/14 08:05:32 vapier Exp $ # @ECLASS: flag-o-matic.eclass # @MAINTAINER: @@ -15,20 +15,6 @@ ___ECLASS_ONCE_FLAG_O_MATIC="recur -_+^+_- spank" inherit eutils toolchain-funcs multilib -################ DEPRECATED functions ################ -# The following are still present to avoid breaking existing -# code more than necessary; however they are deprecated. Please -# use gcc-specs-* from toolchain-funcs.eclass instead, if you -# need to know which hardened techs are active in the compiler. -# See bug #100974 -# -# has_hardened -# has_pie -# has_pic -# has_ssp_all -# has_ssp - - # {C,CXX,F,FC}FLAGS that we allow in strip-flags # Note: shell globs and character lists are allowed setup-allowed-flags() { @@ -527,14 +513,6 @@ get-flag() { return 1 } -# DEAD FUNCS. Remove by Dec 2011. -test_flag() { die "$0: deprecated, please use test-flags()!" ; } -has_hardened() { die "$0: deprecated, please use gcc-specs-{relro,now}()!" ; } -has_pic() { die "$0: deprecated, please use gcc-specs-pie()!" ; } -has_pie() { die "$0: deprecated, please use gcc-specs-pie()!" ; } -has_ssp_all() { die "$0: deprecated, please use gcc-specs-ssp()!" ; } -has_ssp() { die "$0: deprecated, please use gcc-specs-ssp()!" ; } - # @FUNCTION: has_m64 # @DESCRIPTION: # This doesn't test if the flag is accepted, it tests if the flag actually -- 2.26.2