Updates the information in the current information with respect to these flags: extra_compile_args extra_link_args
(self)
| 826 | return self.__class__.__name__ in self.saved_results |
| 827 | |
| 828 | def calc_extra_info(self): |
| 829 | """ Updates the information in the current information with |
| 830 | respect to these flags: |
| 831 | extra_compile_args |
| 832 | extra_link_args |
| 833 | """ |
| 834 | info = {} |
| 835 | for key in ['extra_compile_args', 'extra_link_args']: |
| 836 | # Get values |
| 837 | opt = self.cp.get(self.section, key) |
| 838 | opt = _shell_utils.NativeParser.split(opt) |
| 839 | if opt: |
| 840 | tmp = {key: opt} |
| 841 | dict_append(info, **tmp) |
| 842 | return info |
| 843 | |
| 844 | def get_info(self, notfound_action=0): |
| 845 | """ Return a dictionary with items that are compatible |