We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dac2ab commit 0256ff9Copy full SHA for 0256ff9
1 file changed
clang/test/lit.cfg.py
@@ -491,11 +491,8 @@ def user_is_root():
491
# objects only. In order to not affect most test cases, which expect to support
492
# 32-bit and 64-bit objects by default, set the environment variable
493
# "OBJECT_MODE" to "any" by default on AIX OS.
494
-
495
if "system-aix" in config.available_features:
496
- config.substitutions.append(("llvm-nm", "env OBJECT_MODE=any llvm-nm"))
497
- config.substitutions.append(("llvm-ar", "env OBJECT_MODE=any llvm-ar"))
498
- config.substitutions.append(("llvm-ranlib", "env OBJECT_MODE=any llvm-ranlib"))
+ config.environment["OBJECT_MODE"] = "any"
499
500
# It is not realistically possible to account for all options that could
501
# possibly be present in system and user configuration files, so disable
0 commit comments