mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-28 22:29:56 +00:00
Patch reviewed by Daniel Dunbar. It will be followed by additional cleanup patches. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150664 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
256 B
INI
14 lines
256 B
INI
config.suffixes = ['.ll']
|
|
|
|
def getRoot(config):
|
|
if not config.parent:
|
|
return config
|
|
return getRoot(config.parent)
|
|
|
|
root = getRoot(config)
|
|
|
|
targets = set(root.targets_to_build.split())
|
|
if not 'X86' in targets:
|
|
config.unsupported = True
|
|
|