check the build type for which flags to edit.