[compiler-rt][test] Add feature host-byteorder-big-endian

This is needed to make 5a9b792d72 "[gcov] Temporarily unsupport host-byteorder-big-endian"
work.
This commit is contained in:
Fangrui Song 2020-05-10 11:01:06 -07:00
parent 5a9b792d72
commit 415c689dd2
1 changed files with 2 additions and 0 deletions

View File

@ -103,6 +103,8 @@ config.available_features.add(config.host_os.lower())
if re.match(r'^x86_64.*-linux', config.target_triple): if re.match(r'^x86_64.*-linux', config.target_triple):
config.available_features.add("x86_64-linux") config.available_features.add("x86_64-linux")
config.available_features.add("host-byteorder-" + sys.byteorder + "-endian")
if config.have_zlib == "1": if config.have_zlib == "1":
config.available_features.add("zlib") config.available_features.add("zlib")