This sounds like an issue of cppflags handling in superenv, which may need to be limited to C/C++/ObjC/Obj-C++ compilers. But not sure whether there are other issues besides this one.