/[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.8 Revision 1.9
1# Copyright 1999-2002 Gentoo Technologies, Inc. 1# Copyright 1999-2002 Gentoo Technologies, Inc.
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# Author Bart Verwilst <verwilst@gentoo.org> 3# Author Bart Verwilst <verwilst@gentoo.org>
4# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.8 2002/10/13 01:01:58 azarah Exp $ 4# $Header: /var/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass,v 1.9 2002/10/20 06:43:10 seemant Exp $
5 5
6ECLASS=flag-o-matic 6ECLASS=flag-o-matic
7INHERITED="$INHERITED $ECLASS" 7INHERITED="$INHERITED $ECLASS"
8 8
9# 9#
42 42
43} 43}
44 44
45replace-flags () { 45replace-flags () {
46 46
47 CFLAGS="${CFLAGS/${1}/${2}}" 47 CFLAGS="${CFLAGS/${1}/${2} }"
48 CXXFLAGS="${CXXFLAGS/${1}/${2}}" 48 CXXFLAGS="${CXXFLAGS/${1}/${2} }"
49 49
50} 50}
51 51
52is-flag() { 52is-flag() {
53 53

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20