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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sat Jun 8 15:46:55 2002 UTC (12 years, 1 month ago) by verwilst
Branch: MAIN
added new flag-eclass

1 verwilst 1.1 # Copyright 1999-2002 Gentoo Technologies, Inc.
2     # Distributed under the terms of the GNU General Public License v2
3     # Author Bart Verwilst <verwilst@gentoo.org>
4     # /space/gentoo/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass
5     ECLASS=flag-o-matic
6    
7     filter-flags () {
8    
9     for x in $1; do
10     CFLAGS="${CFLAGS/$x}"
11     CXXFLAGS="${CXXFLAGS/$x}"
12     done
13    
14     }
15    
16     max-optim () {
17    
18     for x in $CFLAGS; do
19     echo $x
20     done
21    
22     }

  ViewVC Help
Powered by ViewVC 1.1.20