diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py index efd64b3ca9f9..98a2f3c03e60 100644 --- a/compiler-rt/test/lit.common.cfg.py +++ b/compiler-rt/test/lit.common.cfg.py @@ -103,6 +103,8 @@ config.available_features.add(config.host_os.lower()) if re.match(r'^x86_64.*-linux', config.target_triple): config.available_features.add("x86_64-linux") +config.available_features.add("host-byteorder-" + sys.byteorder + "-endian") + if config.have_zlib == "1": config.available_features.add("zlib")