This allows users to pass customized flags to the compiler.
The motivation for this change is to include flags provided by automatic packaging systems.
For example, the build system of AOSC OS sets CXXFLAGS to tell the compiler to do cross-compile (when necessary) and generate debuginfo.