diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2005-12-08 21:08:48 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2005-12-08 21:08:48 +0000 |
commit | 39c58e00ca68a7f01d486db2d550f3501925f727 (patch) | |
tree | 8ea0c881ef5b2ffa9d9d24471b0a7f7cf8011058 /eclass/flag-o-matic.eclass | |
parent | Initial import (diff) | |
download | historical-39c58e00ca68a7f01d486db2d550f3501925f727.tar.gz historical-39c58e00ca68a7f01d486db2d550f3501925f727.tar.bz2 historical-39c58e00ca68a7f01d486db2d550f3501925f727.zip |
Fix deprecated warnings breaking sandbox, bug #114905.
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 745e7cd6f9fb..ae93c20b1b1a 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2005 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.96 2005/12/08 12:16:12 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.97 2005/12/08 21:08:48 azarah Exp $ # need access to emktemp() @@ -327,6 +327,7 @@ test-flags() { # Depriciated, use test-flags() test_flag() { + addwrite "/dev/stderr" ewarn "test_flag: deprecated, please use test-flags()!" >/dev/stderr test-flags "$@" @@ -373,6 +374,7 @@ get-flag() { # DEPRECATED - use gcc-specs-relro or gcc-specs-now from toolchain-funcs has_hardened() { + addwrite "/dev/stderr" ewarn "has_hardened: deprecated, please use gcc-specs-{relro,now}()!" \ >/dev/stderr @@ -384,6 +386,7 @@ has_hardened() { # DEPRECATED - use gcc-specs-pie from toolchain-funcs # indicate whether PIC is set has_pic() { + addwrite "/dev/stderr" ewarn "has_pic: deprecated, please use gcc-specs-pie()!" >/dev/stderr [[ ${CFLAGS/-fPIC} != ${CFLAGS} || \ @@ -394,6 +397,7 @@ has_pic() { # DEPRECATED - use gcc-specs-pie from toolchain-funcs # indicate whether PIE is set has_pie() { + addwrite "/dev/stderr" ewarn "has_pie: deprecated, please use gcc-specs-pie()!" >/dev/stderr [[ ${CFLAGS/-fPIE} != ${CFLAGS} || \ @@ -406,6 +410,7 @@ has_pie() { # DEPRECATED - use gcc-specs-ssp from toolchain-funcs # indicate whether code for SSP is being generated for all functions has_ssp_all() { + addwrite "/dev/stderr" ewarn "has_ssp_all: deprecated, please use gcc-specs-ssp()!" >/dev/stderr # note; this matches only -fstack-protector-all @@ -417,6 +422,7 @@ has_ssp_all() { # DEPRECATED - use gcc-specs-ssp from toolchain-funcs # indicate whether code for SSP is being generated has_ssp() { + addwrite "/dev/stderr" ewarn "has_ssp: deprecated, please use gcc-specs-ssp()!" >/dev/stderr # note; this matches both -fstack-protector and -fstack-protector-all |