'Returns flags that need to be added to .c, and .m compilations.'

def GetCflagsC(self, configname):

    self.configname = configname
    cflags_c = []
    if (self._Settings().get('GCC_C_LANGUAGE_STANDARD', '') == 'ansi'):
        cflags_c.append('-ansi')
    else:
        self._Appendf(cflags_c, 'GCC_C_LANGUAGE_STANDARD', '-std=%s')
    cflags_c += self._Settings().get('OTHER_CFLAGS', [])
    self.configname = None
    return cflags_c
