yea i set those things in
~/.bashrc
export CFLAGS=' '
then just
export CXXFLAGS=$CFLAGS
you can also go
Code:
if [ `whoami` = "root" ]; then
export CFLAGS=' '
export CXXFLAGS=$CFLAGS
so they are set when you "su"
some packages don't pick these up and for some packages you have to
unset CFLAGS
unset CXXFLAGS
or they will turn out broken