diff options
| author | Michal Gorny <mgorny@gentoo.org> | 2016-10-02 19:28:57 +0000 |
|---|---|---|
| committer | Michal Gorny <mgorny@gentoo.org> | 2016-10-02 19:28:57 +0000 |
| commit | 9fbdfd1785369b90b0efa1e0748a0ac4454c19c5 (patch) | |
| tree | a43b8ecaf593615914c57759494e98753f2ba360 | |
| parent | bd8731946ca755cb41e2eec5bd4beda6191408e0 (diff) | |
| download | bcm5719-llvm-9fbdfd1785369b90b0efa1e0748a0ac4454c19c5.tar.gz bcm5719-llvm-9fbdfd1785369b90b0efa1e0748a0ac4454c19c5.zip | |
[cmake] Install 'clang-cpp' symlink
Install the 'clang-cpp' symlink used to spawn the preprocessor. The code
handling this suffix is already included in Driver. FreeBSD is already
creating such a symlink in ports, and a similar one was requested
by Gentoo/FreeBSD team. The goal is to handle software that takes a C
preprocessor via a variable but does not handle passing options
correctly (i.e. 'clang -E' does not work).
Bug: https://bugs.gentoo.org/478810
Differential Revision: https://reviews.llvm.org/D25161
llvm-svn: 283075
| -rw-r--r-- | clang/tools/driver/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/tools/driver/CMakeLists.txt b/clang/tools/driver/CMakeLists.txt index 0d9a55b2b44..5b02a4ec1eb 100644 --- a/clang/tools/driver/CMakeLists.txt +++ b/clang/tools/driver/CMakeLists.txt @@ -52,7 +52,7 @@ endif() add_dependencies(clang clang-headers) if(NOT CLANG_LINKS_TO_CREATE) - set(CLANG_LINKS_TO_CREATE clang++ clang-cl) + set(CLANG_LINKS_TO_CREATE clang++ clang-cl clang-cpp) if (WIN32) list(APPEND CLANG_LINKS_TO_CREATE ../msbuild-bin/cl) |

