That has nothing to do with the compilation of your program.
This is a specific option to use in a specific configuration and specific compilers.
So if you want a configuration with some flags like that, then you can have a separate file for it. Each compiler is different after all, some will need different options.