CFLAGS and CXXFLAGS are ordinary shell environment variables that by convention gcc and other compilers consult to alter their behavior.
They could be set in any file (.bashrc, .bash_profile, /etc/profile, etc) that sets environment variables, or set at the command line.
If you get output like this:
lyle@bowman:~$ echo $CFLAGS
lyle@bowman:~$ echo $CXXFLAGS
lyle@bowman:~$
before you compile, you can be assured they aren't set.
Lyle
|