Not even that. Compiler flags are compiler/platform/library options, naturally, as build options need to be propagated from dependencies.
The people behind cmake already learned that lesson with their modern cmake approach, but it seems the xmake people didn't do a proper review of the state of the art.