From 4b87addc9e7ba838345f2b74eba30df60c66fecc Mon Sep 17 00:00:00 2001 From: Bart Verwilst Date: Wed, 12 Jun 2002 17:42:28 +0000 Subject: upd@te --- eclass/flag-o-matic.eclass | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'eclass/flag-o-matic.eclass') 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 -- cgit v1.2.3-65-gdbad