GLOBAL_CFLAGS will only work for .c files, which breaks on the first inclusion of the headers by a .cpp file. *_COMPILEFLAGS is for all language types (C, asm, C++)
GLOBAL_CFLAGS will only work for .c files, which breaks on the first inclusion of the headers by a .cpp file. *_COMPILEFLAGS is for all language types (C, asm, C++)