Make sure 'prefix-clang++' is aliased to 'prefix-clang', not 'clang'.
authorJordan Rose <jordan_rose@apple.com>
Thu, 4 Oct 2012 00:47:59 +0000 (00:47 +0000)
committerJordan Rose <jordan_rose@apple.com>
Thu, 4 Oct 2012 00:47:59 +0000 (00:47 +0000)
commit81be6bfd66a29494a0a9106b738a2d9bd520f603
treebcdf474fd15e83451cc7a0a722500b5802e4fa60
parent72fd0a9448a9d9eced8f475741e4a1ee543253e0
Make sure 'prefix-clang++' is aliased to 'prefix-clang', not 'clang'.

When aliasing tools, rather than using the base TOOLEXENAME, we should
instead use the built tool's basename (for 'make') or the installed
tool's basename (for 'make install').

This should not cause any changes for anyone building unprefixed 'clang'
and 'clang++' tools.

Patch by Rick Foos!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165189 91177308-0d34-0410-b5e6-96231b3b80d8
Makefile.rules