diff options
author | 2002-06-12 17:42:28 +0000 | |
---|---|---|
committer | 2002-06-12 17:42:28 +0000 | |
commit | 4b87addc9e7ba838345f2b74eba30df60c66fecc (patch) | |
tree | c8bc295600bdc368f35586197d40ba27541b274a /eclass/flag-o-matic.eclass | |
parent | added latest version (diff) | |
download | historical-4b87addc9e7ba838345f2b74eba30df60c66fecc.tar.gz historical-4b87addc9e7ba838345f2b74eba30df60c66fecc.tar.bz2 historical-4b87addc9e7ba838345f2b74eba30df60c66fecc.zip |
upd@te
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 9814b87d4144..cd47ec7e2b45 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -4,6 +4,9 @@ # /space/gentoo/cvsroot/gentoo-x86/eclass/flag-o-matic.eclass ECLASS=flag-o-matic +# +#Remove particular flags from C[XX]FLAGS +# filter-flags () { for x in $1; do @@ -13,6 +16,17 @@ filter-flags () { } +# +#Add flags to the current C[XX]FLAGS +# +append-flags () { + + + CFLAGS="$CFLAGS $1" + CXXFLAGS="$CXXFLAGS $1" + +} + max-optim () { for x in $CFLAGS; do |