Handle LOCAL_CPPFLAGS/CFLAGS/CXXFLAGS as claimed by the documentation.

The previous code did only use LOCAL_CFLAGS for both C and C++ sources.
2 files changed