Returns flags that need to be added to .c, and .m compilations.
(self, configname)
| 694 | return cflags |
| 695 | |
| 696 | def GetCflagsC(self, configname): |
| 697 | """Returns flags that need to be added to .c, and .m compilations.""" |
| 698 | self.configname = configname |
| 699 | cflags_c = [] |
| 700 | if self._Settings().get("GCC_C_LANGUAGE_STANDARD", "") == "ansi": |
| 701 | cflags_c.append("-ansi") |
| 702 | else: |
| 703 | self._Appendf(cflags_c, "GCC_C_LANGUAGE_STANDARD", "-std=%s") |
| 704 | cflags_c += self._Settings().get("OTHER_CFLAGS", []) |
| 705 | self.configname = None |
| 706 | return cflags_c |
| 707 | |
| 708 | def GetCflagsCC(self, configname): |
| 709 | """Returns flags that need to be added to .cc, and .mm compilations.""" |
no test coverage detected