CPPFLAGS are for preprocessor; CXXFLAGS are for C++ compiler.