diff options
| author | Johnny Chen <johnny.chen@apple.com> | 2011-01-14 18:19:53 +0000 | 
|---|---|---|
| committer | Johnny Chen <johnny.chen@apple.com> | 2011-01-14 18:19:53 +0000 | 
| commit | bdb4efcf17defbc8ac3e5ed069fa467ed3c2e215 (patch) | |
| tree | 5bab0907888e5eac2928168d344fd3eac376a681 /llvm/lib | |
| parent | 9f40713ebcbf2793e35f85d7cd76e44b11a7c78b (diff) | |
| download | bcm5719-llvm-bdb4efcf17defbc8ac3e5ed069fa467ed3c2e215.tar.gz bcm5719-llvm-bdb4efcf17defbc8ac3e5ed069fa467ed3c2e215.zip | |
The cxx_compiler function should not blindly return clang++ as the C++ compiler if $(CC) contains "clang".
Instead, it should perform a textual replacement of $(CC) from "clang" to "clang++".  The same is true
for "llvm-gcc" to "llvm-g++" and for "gcc" to "g++".  This way, we keep the path component of the $(CC)
passed in from the user and do not end up with a mixed toolchains with different paths.
Ditto for a newly added function called cxx_linker.
llvm-svn: 123451
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

