diff options
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/shared.py b/tools/shared.py index 60908ea1..ed019999 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -127,10 +127,10 @@ LLVM_ADD_VERSION = os.getenv('LLVM_ADD_VERSION') # Some distributions ship with multiple llvm versions so they add # the version to the binaries, cope with that def build_llvm_tool_path(tool): - if LLVM_ADD_VERSION: - return os.path.join(LLVM_ROOT, tool + "-" + LLVM_ADD_VERSION) - else: - return os.path.join(LLVM_ROOT, tool) + if LLVM_ADD_VERSION: + return os.path.join(LLVM_ROOT, tool + "-" + LLVM_ADD_VERSION) + else: + return os.path.join(LLVM_ROOT, tool) CLANG_CC=os.path.expanduser(os.path.join(LLVM_ROOT, 'clang')) CLANG_CPP=os.path.expanduser(os.path.join(LLVM_ROOT, 'clang++')) |