/[gentoo-x86]/eclass/toolchain-funcs.eclass
Gentoo

Diff of /eclass/toolchain-funcs.eclass

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

Revision 1.128 Revision 1.129
1n Copyright 1999-2014 Gentoo Foundation 1n Copyright 1999-2014 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/toolchain-funcs.eclass,v 1.128 2014/10/15 22:27:25 blueness Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-funcs.eclass,v 1.129 2014/10/15 22:30:56 blueness Exp $
4 4
5# @ECLASS: toolchain-funcs.eclass 5# @ECLASS: toolchain-funcs.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# Toolchain Ninjas <toolchain@gentoo.org> 7# Toolchain Ninjas <toolchain@gentoo.org>
8# @BLURB: functions to query common info about the toolchain 8# @BLURB: functions to query common info about the toolchain
608gcc-specs-nostrict() { 608gcc-specs-nostrict() {
609 local directive 609 local directive
610 directive=$(gcc-specs-directive cc1) 610 directive=$(gcc-specs-directive cc1)
611 [[ "${directive/\{!fstrict-overflow:}" != "${directive}" ]] 611 [[ "${directive/\{!fstrict-overflow:}" != "${directive}" ]]
612} 612}
613# Returns true if gcc builds with fstack-check
614gcc-specs-stack-check() {
615 local directive
616 directive=$(gcc-specs-directive cc1)
617 [[ "${directive/\{!fno-stack-check:}" != "${directive}" ]]
618}
613 619
614 620
615# @FUNCTION: gen_usr_ldscript 621# @FUNCTION: gen_usr_ldscript
616# @USAGE: [-a] <list of libs to create linker scripts for> 622# @USAGE: [-a] <list of libs to create linker scripts for>
617# @DESCRIPTION: 623# @DESCRIPTION:

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

  ViewVC Help
Powered by ViewVC 1.1.20