--- tools/lldb/lit/lit.cfg.orig 2016-10-07 13:26:41.000000000 +1100 +++ tools/lldb/lit/lit.cfg 2020-05-26 16:35:47.822965000 +1000 @@ -167,10 +167,13 @@ config.available_features.add('system-linker-mach-o') # Running on ELF based *nix -if platform.system() in ['FreeBSD', 'Linux']: +if platform.system() in ['FreeBSD', 'Linux', 'BSDSUniX']: config.available_features.add('system-linker-elf') - if platform.system() in ['FreeBSD']: - config.available_features.add('freebsd') + if platform.system() in ['FreeBSD', 'BSDSUniX']: + if platform.system() in ['FreeBSD']: + config.available_features.add('freebsd') + else: + config.available_features.add('bsdsunix') else: config.available_features.add('linux')