1def getRoot(config): 2 if not config.parent: 3 return config 4 return getRoot(config.parent) 5 6 7root = getRoot(config) 8 9if root.host_os not in ["Linux", "FreeBSD", "NetBSD"]: 10 config.unsupported = True 11 12# Android O (API level 26) has support for cross-dso cfi in libdl.so. 13if config.android and "android-26" not in config.available_features: 14 config.unsupported = True 15