Actually, the flags come from the ioapi/Makeinclude.${BIN} (that ensures that the flags are consistent across the whole system (libraries plus SMOKE object-files).
In this particular case the code is OpenMP parallel – but someone has changed it so that it has OpenMP errors: it has variables whose parallel-status is not declared. Hence this code can NOT be compiled with an OpenMP enabled compiler. And the submitter of the last set of changes obviously did not test it against a normal compile-situation.
Re-build the entire system from the ground up – libraries and all – with OpenMP turned off, and work with that. Note that will cost you several hours per run for some of the parallelized SMOKE components, movesmrg in particular …