Parent Directory
|
Revision Log
added new flag-eclass
| 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.13 |