/[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.137 Revision 1.138
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.137 2009/05/24 00:33:33 mr_bones_ Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.138 2009/05/26 07:18:33 vapier 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
180# @DESCRIPTION: 180# @DESCRIPTION:
181# Add extra <flags> to your current {C,CXX,F,FC}FLAGS. 181# Add extra <flags> to your current {C,CXX,F,FC}FLAGS.
182append-flags() { 182append-flags() {
183 [[ -z $* ]] && return 0 183 [[ -z $* ]] && return 0
184 append-cflags "$@" 184 append-cflags "$@"
185 append-cppflags "$@" 185 append-cxxflags "$@"
186 append-fflags "$@" 186 append-fflags "$@"
187 return 0 187 return 0
188} 188}
189 189
190# @FUNCTION: replace-flags 190# @FUNCTION: replace-flags

Legend:
Removed from v.1.137  
changed lines
  Added in v.1.138

  ViewVC Help
Powered by ViewVC 1.1.20