llvm-project/lld/test/MachO/lit.local.cfg

9 lines
276 B
Python

# -*- Python -*-
import os
lld = ('lld -flavor darwinnew -syslibroot ' +
os.path.join(config.test_source_root, "MachO", "Inputs", "MacOSX.sdk"))
config.substitutions.append(('%lld', lld + ' -fatal_warnings'))
config.substitutions.append(('%no_fatal_warnings_lld', lld))