oops CFLAGS and CXXFLAGS are the same thing. Didnt mean to confuse you. Its a style thing, c++  source files can end in .cc .cpp or .cxx sometimes people like to use the variable name CXXFLAGS when compiling c++ and CFLAGS when compiling c code. Some people just use CFLAGS all the time. Anyway the point is it doesn't really matter. I guess in our makefile we are using CFLAGS, thought we were using CXXFLAGS when I wrote the previous comment.