/[gentoo-x86]/eclass/flag-o-matic.eclass
Gentoo

Diff of /eclass/flag-o-matic.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.129 Revision 1.130
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2009 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.129 2009/01/04 17:22:16 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.130 2009/01/08 08:12:55 gengor Exp $
4 4
5# @ECLASS: flag-o-matic.eclass 5# @ECLASS: flag-o-matic.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# toolchain@gentoo.org 7# toolchain@gentoo.org
8# @BLURB: common functions to manipulate and query toolchain flags 8# @BLURB: common functions to manipulate and query toolchain flags
556 ewarn "has_ssp_all: deprecated, please use gcc-specs-ssp()!" >&2 556 ewarn "has_ssp_all: deprecated, please use gcc-specs-ssp()!" >&2
557 557
558 # note; this matches only -fstack-protector-all 558 # note; this matches only -fstack-protector-all
559 [[ ${CFLAGS/-fstack-protector-all} != ${CFLAGS} || \ 559 [[ ${CFLAGS/-fstack-protector-all} != ${CFLAGS} || \
560 -n $(echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep __SSP_ALL__) ]] || \ 560 -n $(echo | $(tc-getCC) ${CFLAGS} -E -dM - | grep __SSP_ALL__) ]] || \
561 gcc-specs-ssp-all 561 gcc-specs-ssp-to-all
562} 562}
563 563
564# @FUNCTION: has_ssp 564# @FUNCTION: has_ssp
565# @DESCRIPTION: 565# @DESCRIPTION:
566# DEPRECATED - use gcc-specs-ssp from toolchain-funcs 566# DEPRECATED - use gcc-specs-ssp from toolchain-funcs

Legend:
Removed from v.1.129  
changed lines
  Added in v.1.130

  ViewVC Help
Powered by ViewVC 1.1.20