blob: 96596d85f6e43c9a608e29e053c57b16b6289eea [file] [log] [blame]
Eli Bendersky924f9a62012-02-16 06:28:33 +00001config.suffixes = ['.ll', '.c', '.cpp']
2
3def getRoot(config):
4 if not config.parent:
5 return config
6 return getRoot(config.parent)
7
8root = getRoot(config)
9
10targets = set(root.targets_to_build.split())
11if not 'CppBackend' in targets:
12 config.unsupported = True
13