HomePhabricator

[llvm-config] Report --bindir based on LLVM_TOOLS_INSTALL_DIR

Description

[llvm-config] Report --bindir based on LLVM_TOOLS_INSTALL_DIR

Summary:
LLVM_TOOLS_INSTALL_DIR was introduced in r272200 in order to override the directory
name into which to install LLVM's executable. However, llvm-config --bindir still reported
$PREFIX/bin independent of what LLVM_TOOLS_INSTALL_DIR was set to.

This fixes the out-of-tree clang standalone build for me.

Reviewers: beanz, tstellar

Reviewed By: tstellar

Subscribers: chapuni, tstellar, llvm-commits

Differential Revision: https://reviews.llvm.org/D22499

Details

Committed
kfischerJun 1 2017, 12:20 PM
Reviewer
tstellar
Differential Revision
D22499: [llvm-config] Report --bindir based on LLVM_TOOLS_INSTALL_DIR
Parents
rL304457: Prefer static namespace-scoped variables over anon namespacing per style guide
Branches
Unknown
Tags
Unknown